-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc.json
More file actions
64 lines (64 loc) · 806 Bytes
/
.eslintrc.json
File metadata and controls
64 lines (64 loc) · 806 Bytes
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
63
64
{
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"globals": {
"log": true,
"debug": true,
"$": true,
"Viewify": true,
"DIV": true,
"STYLE": true,
"IMG": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"no-empty": [
1
],
"no-var": [
"error"
],
"no-console": [
"warn"
],
"max-len": [
"error",
{
"tabWidth": 4,
"code": 110
}
],
"no-control-regex": [0, 0],
"indent": [
"warn",
"tab",
{"SwitchCase": 1}
],
"linebreak-style": [
"warn",
"unix"
],
"quotes": [
"warn",
"single"
],
"semi": [
"warn",
"always"
],
"no-unused-vars": [
"warn",
{
"varsIgnorePattern": "[_A-Z]",
"argsIgnorePattern": "^_"
}
]
}
}