|
1 | 1 | { |
2 | | - // Put this back and remove the rest when rush-stack-compiler has been re-published |
3 | | - // "extends": "@microsoft/rush-stack/includes/tslint.json" |
4 | | - |
5 | | - "rulesDirectory": [ |
6 | | - "tslint-microsoft-contrib" |
7 | | - ], |
8 | | - "rules": { |
9 | | - "class-name": true, |
10 | | - "comment-format": [true, "check-space"], |
11 | | - "curly": true, |
12 | | - "eofline": false, |
13 | | - "export-name": true, |
14 | | - "forin": true, |
15 | | - "indent": [true, "spaces", 2], |
16 | | - "interface-name": true, |
17 | | - "label-position": true, |
18 | | - "max-line-length": [true, 120], |
19 | | - "member-access": true, |
20 | | - "member-ordering": [ |
21 | | - true, |
22 | | - { |
23 | | - "order": [ |
24 | | - "public-static-field", |
25 | | - "protected-static-field", |
26 | | - "private-static-field", |
27 | | - "public-instance-field", |
28 | | - "protected-instance-field", |
29 | | - "private-instance-field", |
30 | | - "public-static-method", |
31 | | - "protected-static-method", |
32 | | - "private-static-method", |
33 | | - "public-constructor", |
34 | | - "public-instance-method", |
35 | | - "protected-constructor", |
36 | | - "protected-instance-method", |
37 | | - "private-constructor", |
38 | | - "private-instance-method" |
39 | | - ] |
40 | | - } |
41 | | - ], |
42 | | - "missing-optional-annotation": true, |
43 | | - "no-arg": true, |
44 | | - "no-any": true, |
45 | | - "no-bitwise": true, |
46 | | - "no-consecutive-blank-lines": true, |
47 | | - "no-console": [ |
48 | | - true, |
49 | | - "debug", |
50 | | - "info", |
51 | | - "time", |
52 | | - "timeEnd", |
53 | | - "trace" |
54 | | - ], |
55 | | - "no-constant-condition": true, |
56 | | - "no-construct": true, |
57 | | - "no-debugger": true, |
58 | | - "no-duplicate-switch-case": true, |
59 | | - "no-duplicate-parameter-names": true, |
60 | | - "no-duplicate-variable": true, |
61 | | - "no-empty": true, |
62 | | - "no-eval": true, |
63 | | - "no-function-expression": true, |
64 | | - "no-inferrable-types": false, |
65 | | - "no-internal-module": true, |
66 | | - "no-null-keyword": true, |
67 | | - "no-shadowed-variable": true, |
68 | | - "no-string-literal": true, |
69 | | - "no-switch-case-fall-through": true, |
70 | | - "no-trailing-whitespace": true, |
71 | | - "no-unnecessary-semicolons": true, |
72 | | - "no-unused-expression": true, |
73 | | - "no-unused-variable": true, |
74 | | - "no-use-before-declare": true, |
75 | | - "no-with-statement": true, |
76 | | - "no-var-keyword": true, |
77 | | - "object-literal-sort-keys": false, |
78 | | - "one-line": [ |
79 | | - true, |
80 | | - "check-open-brace", |
81 | | - "check-catch", |
82 | | - "check-else", |
83 | | - "check-whitespace" |
84 | | - ], |
85 | | - "quotemark": [true, "single", "avoid-escape"], |
86 | | - "prefer-const": true, |
87 | | - "radix": true, |
88 | | - "semicolon": true, |
89 | | - "trailing-comma": [ |
90 | | - true, |
91 | | - { |
92 | | - "multiline": "never", |
93 | | - "singleline": "never" |
94 | | - } |
95 | | - ], |
96 | | - "triple-equals": [true, "allow-null-check"], |
97 | | - "typedef": [ |
98 | | - true, |
99 | | - "call-signature", |
100 | | - "parameter", |
101 | | - "property-declaration", |
102 | | - "variable-declaration", |
103 | | - "member-variable-declaration" |
104 | | - ], |
105 | | - "typedef-whitespace": [ |
106 | | - true, |
107 | | - { |
108 | | - "call-signature": "nospace", |
109 | | - "index-signature": "nospace", |
110 | | - "parameter": "nospace", |
111 | | - "property-declaration": "nospace", |
112 | | - "variable-declaration": "nospace" |
113 | | - } |
114 | | - ], |
115 | | - "use-isnan": true, |
116 | | - "use-named-parameter": true, |
117 | | - "variable-name": [true, "check-format", "allow-leading-underscore", "ban-keywords"], |
118 | | - "whitespace": [ |
119 | | - true, |
120 | | - "check-branch", |
121 | | - "check-decl", |
122 | | - "check-operator", |
123 | | - "check-separator", |
124 | | - "check-type" |
125 | | - ] |
126 | | - } |
| 2 | + "extends": "@microsoft/rush-stack-compiler/includes/tslint.json" |
127 | 3 | } |
0 commit comments