-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path.eslintrc
40 lines (40 loc) · 1022 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 6
},
"extends": [
// "standard"
],
"plugins": [
"require-path-exists"
],
"env": {
"node": true,
"mocha": true
},
"rules": {
"no-var": ["error"],
"quotes": ["error", "double"],
"indent": [
"error",
4
]
/*
"padded-blocks": ["error", "always"],
"arrow-parens": [2, "as-needed", {"requireForBlockBody": true }],
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
"no-var": 2,
"object-curly-spacing": [2, "always"],
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-template": 2,
"require-path-exists/exists": 2,
"require-path-exists/notEmpty": 2,
"require-path-exists/tooManyArguments": 2,
"semi": [2, "always", {"omitLastInOneLineBlock": true}],
"space-before-function-paren": [2, "never"],
"standard/object-curly-even-spacing": 0
*/
}
}