-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
47 lines (47 loc) · 1.01 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
},
},
"plugins": [
"babel"
],
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"camelcase": [2, {"properties": "never"}],
"comma-spacing": [2, {"before": false, "after": true}],
"curly": [2],
"dot-notation": [2],
"eqeqeq": [2],
"linebreak-style": [2, "unix"],
"no-cond-assign": [2],
"no-console": [0],
"no-var": [2],
"no-empty": [2],
"no-extra-semi": [2],
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF":1}],
"no-multi-spaces": [2],
"no-const-assign": [2],
"no-trailing-spaces": [2],
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-throw-literal": [2],
"object-curly-spacing": [2, "never"],
"quotes": [2, "single"],
"semi": [2, "always"],
"strict": [2, "global"]
},
"globals": {
"ga": true
}
}