UNPKG

1.46 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 "no-use-before-declare": true,
33 "one-line": [
34 true,
35 "check-open-brace",
36 "check-catch",
37 "check-else",
38 "check-whitespace"
39 ],
40 "typedef-whitespace": [
41 true,
42 {
43 "call-signature": "nospace",
44 "index-signature": "nospace",
45 "parameter": "nospace",
46 "property-declaration": "nospace",
47 "variable-declaration": "nospace"
48 }
49 ],
50 "no-switch-case-fall-through": true,
51 "quotemark": [true, "double", "avoid-escape"],
52 "triple-equals": [true, "allow-null-check"],
53 "variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"],
54 "object-literal-key-quotes": [true, "as-needed"]
55 }
56}