forked from umijs/dumi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
26 lines (26 loc) · 824 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: {
'import/no-unresolved': 0,
'no-underscore-dangle': 0,
'import/no-extraneous-dependencies': 0,
'global-require': 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,
'@typescript-eslint/no-unused-vars': 0,
'no-useless-escape': 0,
'react/button-has-type': 0,
'react/react-in-jsx-scope': 0,
'prefer-destructuring': 0,
'array-callback-return': 0,
'@typescript-eslint/consistent-type-definitions': 0,
'@typescript-eslint/no-invalid-this': 0,
},
};