-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
37 lines (36 loc) · 895 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
34
35
36
37
const fabric = require('@umijs/fabric');
module.exports = {
...fabric.default,
rules: {
...fabric.default.rules,
'@typescript-eslint/no-explicit-any': 0,
semi: 0,
'no-useless-constructor': 0,
'jsx-quotes': 0,
'no-nested-ternary': 0,
'max-len': 0,
'arrow-body-style': 0,
'no-unsafe-finally': 0,
'no-restricted-syntax': 0,
'guard-for-in': 0,
'no-console': 0,
'sort-imports': 0,
'no-underscore-dangle': 0,
'global-require': 0,
'arrow-parens': 0,
'react/prefer-stateless-function': 0,
'no-plusplus': 0,
"no-trailing-spaces": 0,
"no-useless-return": 0,
"quotes": 0,
"react/no-unused-state": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"@typescript-eslint/no-unused-vars": 0,
"no-param-reassign": 0,
"class-methods-use-this": 0,
},
globals: {
Hyg: true,
__DEV__: true,
},
};