-
-
Notifications
You must be signed in to change notification settings - Fork 175
/
Copy path.eslintrc.js
26 lines (26 loc) · 885 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
module.exports = {
extends: [require.resolve('@umijs/fabric/dist/eslint')],
rules: {
'arrow-parens': 0,
'default-case': 0,
'react/no-array-index-key': 0,
'react/sort-comp': 0,
'react/no-access-state-in-setstate': 0,
'react/no-string-refs': 0,
'react/no-did-update-set-state': 0,
'react/no-find-dom-node': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-inferrable-types': 0,
'@typescript-eslint/consistent-type-imports': 0,
'react/require-default-props': 0,
'react-hooks/exhaustive-deps': 0,
'no-confusing-arrow': 0,
'no-restricted-globals': 0,
'import/no-named-as-default-member': 0,
'import/no-extraneous-dependencies': 0,
'jsx-a11y/label-has-for': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/no-autofocus': 0,
},
};