forked from blackflux/yaml-boost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
42 lines (42 loc) · 1.3 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
{
"root": true,
"extends": ["airbnb-base", "plugin:mocha/recommended"],
"rules": {
"@blackflux/rules/istanbul-prevent-ignore": 1,
"@blackflux/rules/kebab-case-enforce": 1,
"max-len": ["error", {"code": 120}],
"mocha/no-exclusive-tests": "error",
"prefer-destructuring": ["error", {"object": false, "array": false}],
"comma-dangle": ["error", "never"],
"indent": ["error", 2, {"SwitchCase": 1}],
"quotes": [2, "single", {"avoidEscape": true}],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"no-unused-vars": [
1,
{"vars": "all", "args": "none", "ignoreRestSiblings": true}
],
"no-var": [1],
"no-fallthrough": [1],
"spaced-comment": [
"error",
"always",
{
"line": {"exceptions": ["-", "+"], "markers": ["=", "!"]},
"block": {
"exceptions": ["-", "+"],
"markers": ["=", "!", ":", "::"],
"balanced": true
}
}
],
"@blackflux/rules/prevent-typeof-object": 1,
"mocha/no-mocha-arrows": 0,
"mocha/no-hooks-for-single-case": 0,
"import/no-useless-path-segments": [2, {"commonjs": true}]
},
"env": {"es6": true, "node": true, "mocha": true},
"globals": {},
"plugins": ["json", "mocha", "markdown", "@blackflux/rules"],
"parser": "babel-eslint"
}