forked from cerner/carbon-graphs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
99 lines (99 loc) · 2.15 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"ENV": true
},
"extends": ["eslint:recommended", "plugin:jsdoc/recommended"],
"plugins": [
"ideal",
"jsdoc"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"valid-jsdoc": 2,
"linebreak-style": 0,
"constructor-super": 2,
"no-var": 1,
"no-this-before-super": 2,
"prefer-const": 1,
"prefer-template": 1,
"mp-camelcase": 0,
"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,
{
"vars": "all",
"args": "none"
}
],
"array-callback-return": 2,
"no-nested-ternary": 1,
"no-unneeded-ternary": 1,
"arrow-parens": [
1,
"always"
],
"arrow-spacing": [
2,
{
"before": true,
"after": true
}
],
"complexity": 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
],
"max-statements-per-line": [
2,
{
"max": 1
}
],
"max-len": [
2,
150,
{
"ignoreTrailingComments": true
}
],
"no-extra-bind": 2,
"no-duplicate-imports": 2,
"no-useless-rename": 2,
"no-useless-computed-key": 2,
"no-useless-return": 2
}
}