Newer
Older
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
61
{
"root": true,
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"extends": "eslint:recommended",
"globals": {
"SugarCube": false,
"Config": false,
"State": false,
"Story": false,
"settings": false,
"setup": false,
"App": false,
"prehistory": true,
"predisplay": true,
"prerender": true,
"postrender": true,
"postdisplay": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"rules": {
"semi-spacing": "warn",
"semi-style": "warn",
"eqeqeq": "error",
"no-fallthrough": "error",
"camelcase": "warn",
"comma-spacing": "error",
"comma-style": "error",
"object-curly-newline": "off",
"object-curly-spacing": "error",
"no-var": "error",
"spaced-comment": "warn",
"no-undef": "off",
"no-unused-vars": "error",
"block-scoped-var": "warn",
"dot-notation": "off",
"linebreak-style": ["error", "unix"],
"eol-last": "warn",
"unicode-bom": [
"error",
"never"
],
"valid-jsdoc": [
"warn",
{
"requireParamDescription": false,
"requireReturnDescription": false,
"requireReturn": false
}
]
}
}