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