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