|
9 | 9 | "createDefaultProgram": true |
10 | 10 | }, |
11 | 11 | "extends": [ |
12 | | - "plugin:@angular-eslint/ng-cli-compat", |
13 | | - "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", |
| 12 | + "plugin:@typescript-eslint/recommended", |
| 13 | + "plugin:@angular-eslint/recommended", |
14 | 14 | "plugin:@angular-eslint/template/process-inline-templates", |
15 | | - "plugin:@typescript-eslint/all", |
16 | 15 | "prettier" |
17 | 16 | ], |
18 | 17 | "plugins": ["eslint-plugin-no-null", "eslint-plugin-unicorn"], |
|
158 | 157 | } |
159 | 158 | } |
160 | 159 | ], |
161 | | - "@typescript-eslint/parameter-properties": ["error", { "prefer": "parameter-property" }], |
| 160 | + "@typescript-eslint/parameter-properties": [ |
| 161 | + "error", |
| 162 | + { |
| 163 | + "prefer": "parameter-property" |
| 164 | + } |
| 165 | + ], |
162 | 166 | "@typescript-eslint/array-type": [ |
163 | 167 | "error", |
164 | 168 | { |
|
231 | 235 | "complexity": "error", |
232 | 236 | "default-case": "error", |
233 | 237 | "eqeqeq": ["error", "always"], |
234 | | - "import/no-default-export": "error", |
235 | | - "import/no-extraneous-dependencies": "error", |
236 | | - "import/no-internal-modules": [ |
237 | | - "error", |
238 | | - { |
239 | | - "allow": [ |
240 | | - "@angular/core/testing/*", |
241 | | - "@angular/platform-browser-dynamic/testing/*", |
242 | | - "zone.js/dist/*", |
243 | | - "core-js/*", |
244 | | - "@angular/common/http/*", |
245 | | - "rxjs/operators", |
246 | | - "@ngneat/spectator/*", |
247 | | - "rxjs/testing" |
248 | | - ] |
249 | | - } |
250 | | - ], |
251 | | - "import/no-unassigned-import": "error", |
252 | | - "import/order": "error", |
253 | 238 | "max-lines": ["error", 500], |
254 | 239 | "no-duplicate-case": "error", |
255 | 240 | "no-duplicate-imports": "error", |
|
0 commit comments