forked from lean/phaser-es6-webpack
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
60 lines (60 loc) · 1.49 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": "standard",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true
},
"globals": {
"phaser": true
},
"settings": {
"import/core-modules": [ "phaser", "pixi", "p2" ]
},
"rules": {
"import/no-unresolved": [2],
"indent": "warn",
"quotes": "warn",
"no-unused-vars": "warn",
"keyword-spacing": "warn",
"space-before-function-paren": "warn",
"eqeqeq": "warn",
"space-infix-ops": "warn",
"comma-spacing": "warn",
"brace-style": "warn",
"curly": "warn",
"no-multiple-empty-lines": "warn",
"operator-linebreak": "warn",
"one-var": "warn",
"no-cond-assign": "warn",
"block-spacing": "warn",
"camelcase": "warn",
"comma-dangle": "warn",
"comma-style": "warn",
"dot-location": "warn",
"eol-last": "warn",
"func-call-spacing": "warn",
"key-spacing": "warn",
"accessor-pairs": "warn",
"no-array-constructor": "warn",
"no-fallthrough": "warn",
"no-extra-parens": "warn",
"no-floating-decimal": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-multi-spaces": "warn",
"no-tabs": "warn",
"no-trailing-spaces": "warn",
"padded-blocks": "warn",
"semi": [ "warn", "never" ],
"semi-spacing": "warn",
"space-before-blocks": "warn",
"space-in-parens": "warn",
"space-unary-ops": "warn",
"spaced-comment": "warn",
"template-curly-spacing": "warn",
"yoda": "warn"
}
}