UNPKG

1.99 kBJSONView Raw
1{
2 "rules": {
3 "class-name": true,
4 "comment-format": [
5 true,
6 "check-space"
7 ],
8 "curly": true,
9 "eofline": true,
10 "forin": true,
11 "indent": [
12 true,
13 "spaces"
14 ],
15 "label-position": true,
16 "label-undefined": true,
17 "max-line-length": [
18 true,
19 140
20 ],
21 "member-access": false,
22 "member-ordering": [
23 true,
24 "static-before-instance",
25 "variables-before-functions"
26 ],
27 "no-arg": true,
28 "no-bitwise": true,
29 "no-console": [
30 true,
31 "debug",
32 "info",
33 "time",
34 "timeEnd",
35 "trace"
36 ],
37 "no-construct": true,
38 "no-debugger": true,
39 "no-duplicate-key": true,
40 "no-duplicate-variable": true,
41 "no-empty": false,
42 "no-eval": true,
43 "no-inferrable-types": true,
44 "no-shadowed-variable": true,
45 "no-string-literal": false,
46 "no-switch-case-fall-through": true,
47 "no-trailing-whitespace": true,
48 "no-unused-expression": true,
49 "no-unused-variable": true,
50 "no-unreachable": true,
51 "no-use-before-declare": true,
52 "no-var-keyword": true,
53 "object-literal-sort-keys": false,
54 "one-line": [
55 true,
56 "check-open-brace",
57 "check-catch",
58 "check-else",
59 "check-whitespace"
60 ],
61 "quotemark": [
62 true,
63 "single"
64 ],
65 "radix": true,
66 "semicolon": [
67 "always"
68 ],
69 "triple-equals": [
70 true,
71 "allow-null-check"
72 ],
73 "typedef-whitespace": [
74 true,
75 {
76 "call-signature": "nospace",
77 "index-signature": "nospace",
78 "parameter": "nospace",
79 "property-declaration": "nospace",
80 "variable-declaration": "nospace"
81 }
82 ],
83 "variable-name": false,
84 "whitespace": [
85 true,
86 "check-branch",
87 "check-decl",
88 "check-operator",
89 "check-separator",
90 "check-type"
91 ]
92 }
93}