forked from britecharts/britecharts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
50 lines (50 loc) · 1.25 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
50
{
"globals": {
"sinon": true
},
"env": {
"es6": true,
"browser": true,
"jasmine": true,
"amd": true
},
"rules": {
"block-scoped-var": 1,
"comma-style": [2, "last"],
"complexity": 1,
"consistent-this": [0, "self"],
"default-case": 1,
"dot-notation": 0,
"guard-for-in": 1,
"keyword-spacing": 1,
"newline-after-var": 1,
"no-alert": 2,
"no-console": 2,
"no-debugger": 2,
"no-div-regex": 1,
"no-eq-null": 1,
"no-floating-decimal": 1,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-nested-ternary": 1,
"no-param-reassign": 0,
"no-self-compare": 1,
"no-throw-literal": 1,
"no-void": 1,
"no-unused-vars": [1, {"varsIgnorePattern": "[d3Transition]"}],
"no-underscore-dangle": 0,
"quotes": [2, "single"],
"one-var": [1, {
"var": "always",
"const": "never"
}],
"radix": 1,
"vars-on-top" : 1,
"wrap-iife": [2, "inside"]
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
}
}