-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
64 lines (64 loc) · 1.4 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
{
"extends": [
"eslint:recommended",
"google"
],
"plugins": [
"babel",
"mocha",
"react"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"forOf": true,
"blockBindings": true,
"arrowFunctions": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"generators": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"es6": true,
"browser": true,
"mocha": true,
"node": true
},
"rules": {
"strict": [2, "never"],
"new-cap": 0,
"no-console": [1, { "allow": ["info", "time", "warn", "error", "timeEnd"] }],
"quotes": [2, "single"],
"no-unused-vars": 2,
"eqeqeq": 2,
"complexity": [1, 10],
"max-len": [2, 160],
"no-var": 2,
"comma-dangle": [2, "never"],
"no-mixed-spaces-and-tabs": 2,
"quote-props": [2, "as-needed"],
"padded-blocks": 0,
"require-jsdoc": 0,
"generator-star-spacing": 0,
"babel/generator-star-spacing": 1,
"mocha/no-exclusive-tests": 2,
"handle-callback-err": 2,
"react/jsx-uses-vars": [2],
"react/jsx-uses-react": 2,
"no-warning-comments": 0
},
"globals": {
"expect": true,
"sinon": true
}
}