-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
35 lines (35 loc) · 951 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
30
31
32
33
34
35
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12
},
"globals": {
"webradiodb": true
},
"rules": {
"block-scoped-var": "error",
"camelcase": "error",
"default-case-last": "error",
"eqeqeq": ["error", "always", {"null": "ignore"}],
"no-alert": "error",
"no-caller": "error",
"no-console": "off",
"no-eq-null": "error",
"no-eval": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-restricted-globals": "error",
"no-restricted-properties": "error",
"no-return-assign": "error",
"no-self-compare": "error",
"no-shadow": "error",
"no-shadow-restricted-names": "error",
"no-useless-concat": "error",
"no-var": "error",
"prefer-const": "error"
}
}