-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
65 lines (65 loc) · 1.12 KB
/
.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
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
65
{
//"extends": "eslint-config-airbnb",
"rules": {
//"indent": [2, 2],
"quotes": [
2,
"single"
],
"linebreak-style": [
0,
"unix"
],
"semi": [
2,
"always"
],
//"no-underscore-dangle": 1,
"curly": 2,
"no-use-before-define": 2,
//"spaced-comment": [2, "always"],
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"keyword-spacing": 1,
"space-before-blocks": [
2,
"always"
],
"semi-spacing": [
2,
{
"before": false,
"after": true
}
],
//"no-var": 2,
//"object-shorthand": [2, "always"],
"prefer-const": 2,
"no-cond-assign": 2,
"no-undef": 2,
"no-delete-var": 2,
"no-unused-vars": 1,
//"no-eq-null": 2,
"no-alert": 1,
//"no-console": 0,
"no-lone-blocks": 2,
"eqeqeq": 0,
"no-label-var": 1,
"no-undef-init": 1,
"one-var": [1, "never"],
"vars-on-top":0
},
"env": {
"browser": true,
"node": true
},
"globals": {
"PIXI": true,
"$": true
}
}