|
1 | 1 | { |
2 | 2 | "rules": { |
3 | 3 | "class-name": true, |
4 | | - "comment-format": [true, "check-space"], |
| 4 | + "comment-format": [ |
| 5 | + true, |
| 6 | + "check-space" |
| 7 | + ], |
5 | 8 | "curly": true, |
6 | 9 | "eofline": true, |
7 | 10 | "forin": true, |
8 | | - "indent": [true, "spaces"], |
| 11 | + "indent": [ |
| 12 | + true, |
| 13 | + "spaces" |
| 14 | + ], |
9 | 15 | "label-position": true, |
10 | | - "label-undefined": true, |
11 | | - "max-line-length": [true, 140], |
| 16 | + "max-line-length": [ |
| 17 | + true, |
| 18 | + 140 |
| 19 | + ], |
12 | 20 | "member-access": true, |
13 | 21 | "member-ordering": [ |
14 | | - true, |
15 | | - "public-before-private", |
16 | | - "static-before-instance", |
17 | | - "variables-before-functions" |
| 22 | + true, { |
| 23 | + "order": [ |
| 24 | + "static-field", |
| 25 | + "instance-field", |
| 26 | + "constructor", |
| 27 | + "public-instance-method", |
| 28 | + "protected-instance-method", |
| 29 | + "private-instance-method" |
| 30 | + ] |
| 31 | + } |
18 | 32 | ], |
19 | 33 | "no-arg": true, |
20 | 34 | "no-bitwise": true, |
|
28 | 42 | ], |
29 | 43 | "no-construct": true, |
30 | 44 | "no-debugger": true, |
31 | | - "no-duplicate-key": true, |
32 | 45 | "no-duplicate-variable": true, |
33 | 46 | "no-empty": true, |
34 | 47 | "no-eval": true, |
35 | | - "no-inferrable-types": true, |
36 | | - "no-internal-module": true, |
| 48 | + "no-inferrable-types": false, |
37 | 49 | "no-shadowed-variable": true, |
38 | 50 | "no-string-literal": true, |
39 | 51 | "no-switch-case-fall-through": false, |
|
51 | 63 | "check-else", |
52 | 64 | "check-whitespace" |
53 | 65 | ], |
54 | | - "quotemark": [true, "double", "avoid-escape"], |
55 | | - "radix": true, |
56 | | - "semicolon": true, |
57 | | - "trailing-comma": false, |
58 | | - "triple-equals": [true, "allow-null-check"], |
| 66 | + "quotemark": [ |
| 67 | + true, |
| 68 | + "double", |
| 69 | + "avoid-escape" |
| 70 | + ], |
| 71 | + "radix":true, |
| 72 | + "semicolon": [ |
| 73 | + true, |
| 74 | + "always" |
| 75 | + ], |
| 76 | + "trailing-comma": [ |
| 77 | + false |
| 78 | + ], |
| 79 | + "triple-equals": [ |
| 80 | + true, |
| 81 | + "allow-null-check" |
| 82 | + ], |
59 | 83 | "typedef-whitespace": [ |
60 | 84 | true, { |
61 | | - "call-signature": "nospace", |
62 | | - "index-signature": "nospace", |
63 | | - "parameter": "nospace", |
64 | | - "property-declaration": "nospace", |
65 | | - "variable-declaration": "nospace" |
66 | | - }], |
67 | | - "variable-name": [ |
68 | | - true, |
69 | | - "ban-keywords", |
70 | | - "check-format", |
71 | | - "allow-leading-underscore", |
72 | | - "allow-trailing-underscore" |
| 85 | + "call-signature":"nospace", |
| 86 | + "index-signature":"nospace", |
| 87 | + "parameter":"nospace", |
| 88 | + "property-declaration":"nospace", |
| 89 | + "variable-declaration":"nospace" |
| 90 | + } |
73 | 91 | ], |
| 92 | + "variable-name": false, |
74 | 93 | "whitespace": [ |
75 | 94 | true, |
76 | 95 | "check-branch", |
|
0 commit comments