-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
45 lines (45 loc) · 1.04 KB
/
.eslintrc
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
38
39
40
41
42
43
44
45
{
"extends": "eslint-config-ali/react",
"globals": {
"it": true,
"describe": true,
"require": true,
"process": true,
"before": true,
"after": true,
"beforeEach": true,
"afterEach": true,
"expect": true,
"jest": true
},
"env": {
"browser": true,
"node": true
},
"rules": {
"strict": "off",
"react/react-in-jsx-scope": "off",
"react/forbid-prop-types": "off",
"new-cap": "off",
"react/no-string-refs": "off",
"react/no-multi-comp": "off",
"react/no-array-index-key": "off",
"max-len": "off",
"no-console": "off",
"no-plusplus": "off",
"react/no-find-dom-node": "off",
"react/prefer-stateless-function": ["off", { "ignorePureComponents": true }],
"import/prefer-default-export": "off",
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false,
"varsIgnorePattern": "createElement"
}
],
"class-methods-use-this": "off"
},
"parser": "babel-eslint"
}