-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 969 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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", "tab", { "SwitchCase": 1 }],
"no-tabs": "off",
"no-var": "error",
"no-unused-vars": ["warn", { "ignoreRestSiblings": true }],
"no-console": "off",
"no-alert": "error",
"no-multi-spaces": "off",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-case-declarations": "off",
"no-extra-boolean-cast": "off",
"keyword-spacing": ["off", { "before": true, "after": true }],
"space-infix-ops": "off",
"quotes": ["off", "single", { "avoidEscape": true }],
"arrow-spacing": ["off", { "before": true, "after": true }],
"object-curly-spacing": ["off", "always"],
"array-bracket-spacing": ["off", "never"],
"prefer-const": "off",
"one-var": ["off", "never"]
},
"globals": {}
}