-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.eslintrc
44 lines (38 loc) · 846 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
34
35
36
37
38
39
40
41
42
43
44
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true,
"node": true
},
"parserOptions": {
"sourceType": "module"
},
"globals": {
"beforeEach": true,
"afterEach": true,
"describe": true,
"it": true,
"Phaser": true
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"guard-for-in": "error",
"no-alert": "error",
"no-eval": "error",
"no-implicit-globals": "error",
"no-implied-eval": "error",
"no-iterator": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-new-func": "error",
"no-script-url": "error",
"no-throw-literal": "error",
"no-void": "error",
"no-with": "error"
}
}