UNPKG

1.93 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 "public-before-private",
25 "static-before-instance",
26 "variables-before-functions"
27 ],
28 "no-arg": true,
29 "no-bitwise": true,
30 "no-console": [
31 true,
32 "debug",
33 "info",
34 "time",
35 "timeEnd",
36 "trace"
37 ],
38 "no-construct": true,
39 "no-debugger": true,
40 "no-duplicate-key": true,
41 "no-duplicate-variable": true,
42 "no-empty": true,
43 "no-eval": true,
44 "no-inferrable-types": true,
45 "no-shadowed-variable": true,
46 "no-string-literal": false,
47 "no-switch-case-fall-through": true,
48 "no-trailing-whitespace": true,
49 "no-unused-expression": true,
50 "no-unused-variable": true,
51 "no-unreachable": true,
52 "no-use-before-declare": true,
53 "no-var-keyword": true,
54 "object-literal-sort-keys": false,
55 "one-line": [
56 true,
57 "check-open-brace",
58 "check-catch",
59 "check-else",
60 "check-whitespace"
61 ],
62 "radix": true,
63 "quotemark": [
64 true,
65 "single"
66 ],
67 "semicolon": [
68 "always"
69 ],
70 "triple-equals": [
71 true,
72 "allow-null-check"
73 ],
74 "typedef-whitespace": [
75 true,
76 {
77 "call-signature": "nospace",
78 "index-signature": "nospace",
79 "parameter": "nospace",
80 "property-declaration": "nospace",
81 "variable-declaration": "nospace"
82 }
83 ],
84 "variable-name": false,
85 "whitespace": [
86 true,
87 "check-branch",
88 "check-decl",
89 "check-operator",
90 "check-separator",
91 "check-type"
92 ]
93 }
94}