-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
44 lines (44 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
{
"parser": "babel-eslint",
"extends": [],
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"ecmaVersion": 6,
"sourceType": "module",
"jsx": true
},
"plugins": ["react"],
"globals": { "React": true },
"rules": {
"eqeqeq": 2,
"quotes": [1, "single"],
"no-console": 1,
"dot-location": [1, "property"],
"no-caller": 2,
"no-fallthrough": 2,
"no-floating-decimal": 1,
"no-loop-func": 0,
"no-new-func": 2,
"no-sequences": 1,
"no-throw-literal": 2,
"no-label-var": 2,
"no-shadow-restricted-names": 2,
"no-shadow": 2,
"no-use-before-define": 2,
"react/jsx-uses-vars": 2,
"camelcase": 1,
"no-lonely-if": 1,
"no-nested-ternary": 2,
"no-unneeded-ternary": 1,
"no-trailing-spaces": 1,
"semi": 2
}
}