-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
52 lines (52 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
46
47
48
49
50
51
52
{
"extends": [
"airbnb",
"prettier",
"prettier/react",
"plugin:flowtype/recommended"
],
"env": {
"browser": true,
"es6": true
},
"overrides": [
{
"files": ["**/*.spec.js"],
"rules": {
"max-nested-callbacks": [2, 4],
"max-statements": [2, 50]
},
"env": {
"jest": true,
"jasmine": true
}
}
],
"plugins": ["react", "flowtype", "jest", "promise"],
"settings": {
"react": {
"version": "16.3.0"
}
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-console": 0,
"no-plusplus": 0,
"react/no-deprecated": 2,
"react/jsx-filename-extension": 0,
"react/require-default-props": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/named": 0,
"no-restricted-syntax": [2, "WithStatement", "ClassDeclaration"],
"no-await-in-loop": 0
}
}