This repository has been archived by the owner on Oct 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
.eslintrc.json
41 lines (41 loc) · 1.54 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
{
"env": {
"browser": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [ "error", 2, { "SwitchCase": 1 } ],
"space-infix-ops": [ "error" ],
"linebreak-style": [ "error", "unix" ],
"comma-style": [ "error", "last" ],
"brace-style": [ "error", "1tbs", { "allowSingleLine": true } ],
"curly": "error",
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"space-before-function-paren": [ "error", {"anonymous": "always", "named": "never"} ],
"keyword-spacing": [ "error", { "before": true, "after": true } ],
"space-before-blocks": [ "error", "always" ],
"key-spacing": [ "error", { "beforeColon": false, "afterColon": true, "mode": "strict" } ],
"semi-spacing": [ "error", {"before": false, "after": true} ],
"comma-spacing": [ "error", { "before": false, "after": true } ],
"comma-dangle": ["error", "never"],
"camelcase": "error",
"eqeqeq": "error"
},
"globals" : {
"_elm_community$webgl$Native_Texture": true,
"_elm_community$webgl$Native_WebGL": true,
"_elm_community$webgl$Native_Settings": true,
"_elm_lang$virtual_dom$Native_VirtualDom": false,
"_elm_lang$core$Native_Utils": false,
"_elm_lang$core$Native_Scheduler": false,
"F2": false,
"F3": false,
"F4": false,
"F5": false,
"F6": false,
"Float32Array": false,
"Int32Array": false,
"Uint16Array": false
}
}