-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
27 lines (27 loc) · 894 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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended",
"rules": {
"no-undef": "off",
"no-console": "off",
"keyword-spacing": ["error", { "before": true, "after": true }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true, "mode": "strict" }],
"space-infix-ops": ["error", { "int32Hint": false }],
"no-trailing-spaces": ["error", { "skipBlankLines": false }],
"semi": ["error", "always"],
"block-spacing": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"no-multi-spaces": "error",
"no-multiple-empty-lines": ["error", { "max": 2 }],
"no-var": "error",
"eol-last": ["error", "always"]
}
}