UNPKG

1.42 kBJSONView Raw
1{
2 "rules": {
3 "ban": true,
4 "class-name": true,
5 "eofline": true,
6 "indent": [true, "spaces"],
7 "comment-format": [true, "check-space"],
8 "curly": true,
9 "forin": true,
10 "label-position": true,
11 "no-arg": true,
12 "no-any": false,
13 "jsdoc-format": true,
14 "semicolon": [true, "always"],
15 "no-duplicate-variable": true,
16 "no-consecutive-blank-lines": [false, 2],
17 "no-console": [
18 true,
19 "debug",
20 "info",
21 "time",
22 "timeEnd",
23 "trace"
24 ],
25 "no-debugger": true,
26 "no-eval": true,
27 "no-inferrable-types": [true, "ignore-params"],
28 "no-shadowed-variable": true,
29 "no-string-literal": false,
30 "no-trailing-whitespace": true,
31 "no-unused-expression": true,
32 "one-line": [
33 true,
34 "check-open-brace",
35 "check-catch",
36 "check-else",
37 "check-whitespace"
38 ],
39 "typedef-whitespace": [
40 true,
41 {
42 "call-signature": "nospace",
43 "index-signature": "nospace",
44 "parameter": "nospace",
45 "property-declaration": "nospace",
46 "variable-declaration": "nospace"
47 }
48 ],
49 "no-switch-case-fall-through": true,
50 "quotemark": [true, "double", "avoid-escape"],
51 "triple-equals": [true, "allow-null-check"],
52 "variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
53 "object-literal-key-quotes": [true, "as-needed"]
54 }
55}