forked from cerner/carbon-graphs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
59 lines (59 loc) · 1.57 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
51
52
53
54
55
56
57
58
59
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"ENV": true
},
"extends": ["standard", "plugin:jsdoc/recommended", "prettier"],
"plugins": ["jsdoc"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"jsdoc/require-property": 0,
"linebreak-style": 0,
"constructor-super": 2,
"no-var": 1,
"no-this-before-super": 2,
"prefer-const": 1,
"prefer-template": 1,
"no-class-assign": 2,
"no-const-assign": 2,
"require-yield": 2,
"no-dupe-class-members": 2,
"no-useless-constructor": 0,
"prefer-arrow-callback": 1,
"prefer-rest-params": 1,
"no-unused-vars": 2,
"array-callback-return": 2,
"no-nested-ternary": 1,
"no-unneeded-ternary": 1,
"no-unused-expressions": 0,
"arrow-parens": [1, "always"],
"arrow-spacing": [
2,
{
"before": true,
"after": true
}
],
"no-new": 0,
"rest-spread-spacing": [2, "never"],
"prefer-spread": 1,
"object-shorthand": [2, "always"],
"arrow-body-style": 2,
"object-curly-spacing": [2, "always"],
"space-before-blocks": 2,
"max-depth": [2, 3],
"max-nested-callbacks": [2, 3],
"no-extra-bind": 2,
"no-duplicate-imports": 2,
"no-useless-rename": 2,
"no-useless-computed-key": 2,
"no-useless-return": 2
}
}