-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
53 lines (53 loc) · 1.49 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
{
"root": true,
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true,
"jquery": true
},
"extends": "airbnb",
"rules": {
"consistent-return": 0,
"quotes": [2, "single"],
"eqeqeq": [2, "smart"],
"strict": 0,
"curly": [2, "multi-line"],
"object-curly-spacing": ["error", "always"],
"array-bracket-spacing": ["error", "always"],
"computed-property-spacing": ["error", "always"],
"no-multi-spaces": [2, { "exceptions": { "VariableDeclarator": true } }],
"key-spacing": [2, { "align": "colon" }],
"camelcase": [2, { "properties": "never" }],
"indent": ["error", 2, { "VariableDeclarator": { "var": 2, "let": 2, "const": 3 }, "SwitchCase": 1 }],
"no-console": ["error", { "allow": ["warn", "error", "log"] }],
"space-in-parens": ["error", "always", { "exceptions": ["empty", "{}"] }],
"comma-dangle": ["error", "never"],
"one-var": 0,
"max-len": 0, // Line length max 100 chars - seems too short but maybe set to alt value?
"arrow-body-style": 0,
"no-underscore-dangle": 0,
"func-names": 0,
"no-useless-escape": 0,
"new-cap": 0,
"no-useless-constructor": 0,
"no-return-assign": 0,
"no-extend-native": 0,
"radix": 0,
"no-case-declarations": 0
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"blockBindings": true,
"modules": true
}
},
"globals": {
"io": true,
"Highcharts": true
}
}