forked from taiga-family/maskito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
30 lines (30 loc) · 867 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
extends: ['plugin:@taiga-ui/experience/all'],
overrides: [
{
files: ['projects/react/**/*.{js,ts,jsx,tsx}'],
extends: ['@tinkoff/eslint-config-react'],
rules: {
'unicorn/filename-case': [
'error',
{
case: 'camelCase',
},
],
},
},
{
files: ['*.ts'],
rules: {
'@taiga-ui/experience/strict-tui-doc-example': 'off',
'@taiga-ui/experience/prefer-inject-decorator': 'off',
'@typescript-eslint/consistent-type-assertions': 'off',
'no-restricted-syntax': 'off', // TODO
},
},
],
};