forked from jcorporation/myMPD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc-min.json
45 lines (45 loc) · 1.26 KB
/
.eslintrc-min.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
36
37
38
39
40
41
42
43
44
45
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"BSN": true,
"phrases": true,
"locales": true,
"missingPhrases": true,
"MediaMetadata": true
},
"parserOptions": {
"ecmaVersion": 2018
},
"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-empty": "off",
"no-eq-null": "error",
"no-eval": "error",
"no-fallthrough": "off",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-redeclare": ["error", { "builtinGlobals": false }],
"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-unused-vars": "off",
"no-useless-concat": "off",
"no-var": "error",
"prefer-const": "error"
}
}