-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
32 lines (32 loc) · 825 Bytes
/
.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
{
"extends": "idiomatic",
"ecmaFeatures": {
"modules": true
},
"env": {
"browser": true,
"mocha": true,
"node": true,
"jquery": true,
"es6": true
},
"rules": {
"no-multi-spaces": [1, { "exceptions": { "VariableDeclarator": true, "Property": true } }],
"no-multiple-empty-lines": [1, { "max": 2 }],
"semi": [2, "always"],
"space-before-function-paren": [1, "always"],
"indent": [2, 2, { "SwitchCase": 1 }],
"no-use-before-define": [2, "nofunc"],
"space-in-parens": [2, "never"],
"computed-property-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"one-var": [2, "never"],
"no-unused-vars": [1, { "vars": "local", "args": "none" }]
},
"globals": {
"Phaser": true,
"game": true,
"pixel": true,
"debug": true
}
}