forked from commandstudio/commandstudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
27 lines (27 loc) · 784 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
{
"extends": "eslint:recommended",
"env": {
"browser": true,
},
"globals": {
"window": true,
"define": true,
"require": true
},
"rules": {
"indent": [ "error", 2 ],
"quotes": [ "error", "double" ],
"linebreak-style": [ "error", "unix" ],
"semi": [ "error", "always" ],
"space-infix-ops": [ "error" ],
"no-console": [ "warn" ],
"object-curly-spacing": ["error", "always"],
"array-bracket-spacing": ["error", "always"],
"space-in-parens": ["error", "always"],
"comma-dangle": ["error", "never"],
"comma-style": ["error", "last"],
"no-cond-assign": ["error", "except-parens"],
"comma-spacing": ["error", { "before": false, "after": true }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }]
}
}