forked from Loirooriol/tab-counter-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
58 lines (58 loc) · 2.24 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
{
"root": true,
"extends": "eslint:all",
"rules": {
"array-bracket-newline": ["error", "consistent"],
"array-element-newline": ["error", "consistent"],
"capitalized-comments": "off",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"consistent-return": "off",
"eqeqeq": ["error", "smart"],
"func-names": ["error", "as-needed"],
"func-style": ["error", "declaration", {"allowArrowFunctions": true}],
"function-call-argument-newline": ["error", "consistent"],
"function-paren-newline": "off",
"id-length": "off",
"indent": ["error", 2, {"SwitchCase": 1}],
"init-declarations": "off",
"keyword-spacing": ["error", {"overrides": {"catch": {"after": false}}}],
"line-comment-position": "off",
"lines-between-class-members": ["error", "always", {"exceptAfterSingleLine": true}],
"max-len": ["error", {"code": 90}],
"max-lines": "off",
"max-lines-per-function": "off",
"max-statements": "off",
"multiline-comment-style": ["error", "separate-lines"],
"multiline-ternary": ["error", "always-multiline"],
"newline-per-chained-call": "off",
"no-eq-null": "off",
"no-implicit-coercion": ["error", {"allow": ["!!", "+"]}],
"no-implicit-globals": "off",
"no-inline-comments": "off",
"no-magic-numbers": "off",
"no-negated-condition": "off",
"no-param-reassign": "off",
"no-ternary": "off",
"no-undefined": "off",
"no-underscore-dangle": "off",
"no-useless-return": "off",
"object-property-newline": ["error", {"allowAllPropertiesOnSameLine": true}],
"one-var": ["error", {"initialized": "never"}],
"padded-blocks": ["error", "never"],
"prefer-destructuring": ["error", {"object": true, "array": false}],
"prefer-template": "off",
"quote-props": ["error", "as-needed"],
"quotes": ["error", "double", {"avoidEscape": true}],
"sort-keys": "off",
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never"}],
"spaced-comment": ["error", "always", {"block": {"balanced": true}}],
"strict": "off",
"wrap-iife": ["error", "inside"]
}
}