forked from EastCoastProduct/api-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1.17 KB
/
.eslintrc
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
{
// To give you an idea how to override rule options:
extends: "eslint:recommended",
"ecmaFeatures": {
"arrowFunctions": true
},
"rules": {
"semi": [2, "always"],
"strict": [2, "global"],
"quotes": [2, "single"],
"curly": [2, "multi-line"],
"comma-dangle": [2, "never"],
"comma-spacing": 2,
"eqeqeq": [0, "smart"],
"new-cap": 0,
"indent": [2, 2],
"key-spacing": 2,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"no-else-return": 2,
"no-eval": 2,
"no-loop-func": 2,
"no-dupe-keys": 2,
"no-empty": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-console": 1,
"no-debugger": 2,
"no-lonely-if": 2,
"no-multi-spaces": 1,
"no-shadow": 2,
"no-trailing-spaces": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"max-nested-callbacks": [2, 3],
"camelcase": 2,
"eol-last": 2,
"max-len": [2, 80],
"space-before-function-paren": [2, "never"],
"space-before-blocks": [2, "always"],
"keyword-spacing": [2, {"before": true, "after": true, "overrides": {}}]
},
"env": {
"node": true,
"es6": true
}
}