forked from siberiacancode/reactuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
25 lines (24 loc) · 717 Bytes
/
.eslintrc.js
File metadata and controls
25 lines (24 loc) · 717 Bytes
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
const { eslint } = require('@siberiacancode/eslint');
module.exports = {
...eslint.react,
overrides: [
...eslint.react.overrides,
{
files: ['*.ts', '*.tsx'],
parserOptions: {
tsconfigRootDir: __dirname
},
rules: {
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'no-nested-ternary': 'off',
'promise/always-return': 'off',
'promise/catch-or-return': 'off',
'no-restricted-syntax': 'off'
}
}
]
};