-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
33 lines (32 loc) · 923 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
/**
* https://cn.eslint.org/docs/user-guide/configuring
*/
module.exports = {
root: true,
extends: [
// https://github.com/umijs/fabric
require.resolve('@umijs/fabric/dist/eslint'),
],
rules: {
'@typescript-eslint/consistent-type-definitions': 0,
'@typescript-eslint/no-invalid-this': 0,
'@typescript-eslint/consistent-type-imports': 0,
'no-underscore-dangle': 0,
'import/no-extraneous-dependencies': 0,
'import/no-dynamic-require': 0,
'react/sort-comp': 0,
'jsx-a11y/aria-role': 0,
'jsx-a11y/alt-text': 0,
'jsx-a11y/anchor-has-content': 0,
'jsx-a11y/control-has-associated-label': 0,
'no-param-reassign': 0,
'prefer-object-spread': 0,
'consistent-return': 0,
'react/button-has-type': 0,
'react/react-in-jsx-scope': 0,
'prefer-destructuring': 0,
'array-callback-return': 0,
'no-plusplus': 0,
'no-nested-ternary': 0,
},
};