forked from jokamjohn/cloud-vision-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
49 lines (49 loc) · 1.04 KB
/
.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
{
"extends": "plugin:react/recommended",
"rules": {
"indent":[2, 2, {"SwitchCase": 1}],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "never"],
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-eq-null": 1,
"no-console": 0,
"no-extra-bind": 1,
"no-fallthrough": 1,
"no-unused-expressions": 1,
"no-useless-concat": 2,
"no-useless-call": 1,
"no-const-assign": 2,
"no-with": 1,
"no-delete-var": 1,
"no-unused-vars": 1,
"no-use-before-define": 1,
"no-undef": 2,
"arrow-spacing": [2,{"before":true,"after":true}],
"no-var": 2,
"prefer-const": 1,
"prefer-spread": 1,
"prefer-template": 2,
"prefer-reflect": 0,
"prefer-arrow-callback": 1,
"require-yield": 2,
"template-curly-spacing": 2,
"react/jsx-uses-vars": 1
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"plugins": [
"react",
"babel"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
}
}