-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
87 lines (72 loc) · 1.66 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"plugins": [
"prefer-object-spread"
],
"rules": {
"comma-dangle": [1, "never"],
"space-before-function-paren": [2, {
"anonymous": "always",
"named": "never"
}],
"no-use-before-define": 0,
"no-else-return": 0,
"no-return-assign": 0,
"react/jsx-key": 1,
"react/jsx-no-literals": 0,
"react/prop-types": 0,
"react/no-direct-mutation-state": 2,
"jsx-a11y/img-uses-alt": 0,
"jsx-a11y/redundant-alt": 0,
"jsx-a11y/valid-aria-role": 0,
"jsx-quotes": [2, "prefer-single"],
"react/require-render-return": 0,
"react/jsx-no-undef": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-pascal-case": 0,
"react/jsx-no-bind": [1, {
"ignoreRefs": true
}],
"react/sort-comp": 0,
"no-underscore-dangle": 0,
"no-undef": 2,
"import/no-unresolved": 0,
"no-unused-vars": [2, {
"args": "after-used",
"argsIgnorePattern": "^_"
}],
"id-length": 0,
"prefer-object-spread/prefer-object-spread": 2
},
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": [
"node_modules",
"src"
]
}
},
"globals": {
"React": true,
"ReactDOM": true,
"settings": true,
"chrome": true,
"__DEVELOPMENT__": true,
"__DEVTOOLS__": true,
"__TEST__": true,
"__PRODUCTION__": true,
"__ENVIRONMENT__": true,
"__DEBUG__": true,
"__VERBOSE__": true,
"__PROFILE__": true,
"SETTINGS": true
}
}