-
Notifications
You must be signed in to change notification settings - Fork 244
/
.eslintrc.json
52 lines (52 loc) · 930 Bytes
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true,
"amd": true,
"commonjs": true,
"es6": true
},
"globals": {
"app": true,
"PROD": false,
"DEV": false
},
"parserOptions": {
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"ecmaVersion": 6,
"sourceType": "module",
"jsx": true
},
"plugins": [
"react"
],
"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
}
}