|
6 | 6 | "rules": { |
7 | 7 | "no-useless-catch": "error", //TODO- Remove the unnecessary try-catch lines used and enable no-useless-catch rule. |
8 | 8 | "prefer-rest-params": "off", |
9 | | - "no-constant-condition": "off", |
| 9 | + "no-constant-condition": "error", |
10 | 10 | // @typescript-eslint rules |
11 | 11 | "@typescript-eslint/no-empty-interface": "warn", |
12 | 12 | "@typescript-eslint/ban-types": "off", |
|
161 | 161 | "@typescript-eslint/no-empty-function": "error", |
162 | 162 | "@typescript-eslint/no-namespace": "off", |
163 | 163 | "@typescript-eslint/no-parameter-properties": "off", |
164 | | - |
| 164 | + "@typescript-eslint/no-array-constructor": "error", |
165 | 165 | // eslint |
| 166 | + // "sort-imports": [ |
| 167 | + // "error", |
| 168 | + // { |
| 169 | + // "ignoreCase": false, |
| 170 | + // "ignoreDeclarationSort": false, |
| 171 | + // "ignoreMemberSort": false, |
| 172 | + // "memberSyntaxSortOrder": ["none", "all", "multiple", "single"], |
| 173 | + // "allowSeparatedGroups": false |
| 174 | + // } |
| 175 | + // ], |
166 | 176 | "brace-style": "error", |
167 | 177 | "constructor-super": "error", |
168 | 178 | "curly": ["error", "multi-line"], |
|
0 commit comments