forked from claudiajs/claudia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
29 lines (29 loc) · 879 Bytes
/
.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
{
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"rules": {
"semi": ["error", "always"],
"strict": ["error", "function"],
"no-unused-vars": "error",
"indent": ["error", "tab", {"MemberExpression": "off"} ],
"no-const-assign": "error",
"one-var": "error",
"prefer-const": "error",
"no-var": "error",
"prefer-arrow-callback": "error",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"quotes": ["error", "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"no-underscore-dangle": "off",
"no-use-before-define": ["error"],
"require-await": ["error"],
"eqeqeq": ["error"],
"comma-spacing": ["error", { "before": false, "after": true }],
"key-spacing": ["error", { "afterColon": true, "beforeColon": false }]
}
}