-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.json
62 lines (62 loc) · 1.62 KB
/
eslint.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 5
},
"globals": {
"Uint8Array": false,
"Uint16Array": false,
"Uint32Array": false
},
"rules": {
"no-label-var": "error",
"no-shadow": "error",
"no-shadow-restricted-names": "error",
"no-undef-init": "error",
"no-use-before-define": "error",
"block-scoped-var": "error",
"class-methods-use-this": "error",
"no-alert": "error",
"no-else-return": "error",
"no-empty-function": "error",
"no-extend-native": "error",
"no-implicit-globals": "error",
"no-invalid-this": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
"no-param-reassign": "error",
"no-return-assign": "error",
"no-sequences": "error",
"no-unused-expressions": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-useless-return": "error",
"no-with": "error",
"wrap-iife": ["error", "any", {"functionPrototypeMethods": false}],
"vars-on-top": "error",
"strict": ["error", "safe"],
"consistent-return": "error",
"eqeqeq": "error",
"dot-location": "error",
"dot-notation": "error",
"no-fallthrough": "error",
"no-implicit-coercion": "error",
"no-eval": "error",
"no-implied-eval": "error",
"no-tabs": "error",
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-lonely-if": "error",
"no-new-object": "error"
},
"env": {
"browser": true
},
"plugins": [
"html"
]
}