-
-
Notifications
You must be signed in to change notification settings - Fork 262
Expand file tree
/
Copy path.eslintrc.js
More file actions
23 lines (23 loc) · 870 Bytes
/
.eslintrc.js
File metadata and controls
23 lines (23 loc) · 870 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: {
'import/no-extraneous-dependencies': 0,
'import/no-named-as-default': 0,
'no-template-curly-in-string': 0,
'prefer-promise-reject-errors': 0,
'react/no-array-index-key': 0,
'react/require-default-props': 0,
'react/sort-comp': 0,
'react/no-find-dom-node': 1,
'@typescript-eslint/no-explicit-any': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/label-has-for': 0,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/consistent-indexed-object-style': 0,
'@typescript-eslint/switch-exhaustiveness-check': 0,
'@typescript-eslint/no-parameter-properties': 0,
'@typescript-eslint/no-throw-literal': 0,
'@typescript-eslint/type-annotation-spacing': 0,
'@typescript-eslint/ban-types': 0,
},
};