-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
37 lines (37 loc) · 919 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
31
32
33
34
35
36
37
module.exports = {
extends: [
'@mstech-lib/eslint-config'
],
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: './',
ecmaVersion: 2022,
sourceType: 'module',
},
settings: {
'import/resolver': {
typescript: {},
},
},
rules: {
'import/no-anonymous-default-export': 'off',
'react-hooks/exhaustive-deps': 'off',
'react-hooks/rules-of-hooks': 'off',
'jsx-a11y/anchor-is-valid': 0,
'no-case-declarations': 0,
'@typescript-eslint/no-redeclare': 0,
'@typescript-eslint/interface-name-prefix': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/camelcase': 0,
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
]
},
],
};