-
Notifications
You must be signed in to change notification settings - Fork 453
/
.eslintrc
55 lines (55 loc) · 1.1 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
{
"plugins": [
"react"
],
"env": {
"browser": true,
"jquery": true,
"es6": true,
},
"globals": {
"chrome": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-extra-semi": 0,
"comma-dangle": [1, "always-multiline"],
"block-spacing": 1,
"camelcase": 0,
"curly": 1,
"eqeqeq": 2,
"keyword-spacing": 1,
"max-len": 0,
"no-control-regex": 0,
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"one-var": 0,
"require-jsdoc": 0,
"space-in-parens": 1,
"space-infix-ops": 1,
"valid-jsdo": 0
},
"settings": {
"react": {
"version": "16.4.1"
}
}
}