forked from coolchip/luxtronik2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
57 lines (57 loc) · 1.59 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
{
"extends": [
"standard",
"eslint:recommended"
],
"plugins": [
"require-path-exists",
"mocha"
],
"env": {
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"indent": ["error", 4],
"object-curly-spacing": ["error", "always"],
"require-path-exists/exists": "error",
"require-path-exists/notEmpty": "error",
"require-path-exists/tooManyArguments": "error",
"semi": ["error", "always"],
"prefer-const": "error",
"no-var": "error",
"object-shorthand": "error",
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"spaced-comment": "off",
"quotes": ["error", "single"],
"quote-props": ["off"],
"padded-blocks": ["error", {
"blocks": "never"
}],
"prefer-template": "off",
"complexity": ["off"],
"max-statements": ["error", 30, {
"ignoreTopLevelFunctions": false
}],
"no-multiple-empty-lines": "error",
"block-scoped-var": "error",
"default-case": "error",
"eqeqeq": "error",
"guard-for-in": "error",
"no-extra-bind": "error",
"no-implicit-coercion": "error",
"new-cap": "warn",
"callback-return": "error",
"global-require": "error",
"no-mixed-operators": "off",
"no-prototype-builtins": "off"
}
}