-
-
Notifications
You must be signed in to change notification settings - Fork 240
Expand file tree
/
Copy path.eslintrc.js
More file actions
23 lines (23 loc) · 672 Bytes
/
.eslintrc.js
File metadata and controls
23 lines (23 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
extends: [require.resolve('@umijs/fabric/dist/eslint')],
rules: {
'default-case': 0,
'react/sort-comp': 0,
'react/no-array-index-key': 0,
'react/no-access-state-in-setstate': 0,
'no-plusplus': 0,
'no-param-reassign': 0,
'react/require-default-props': 0,
'no-underscore-dangle': 0,
'react/no-find-dom-node': 0,
'no-mixed-operators': 0,
'prefer-destructuring': 0,
'react/no-unused-prop-types': 0,
'max-len': 0,
'max-classes-per-file': 0,
'import/no-extraneous-dependencies': 0,
'brace-style': 0,
'no-unused-expressions': 0,
'@typescript-eslint/no-unused-expressions': 1,
},
};