|
1 | 1 | { |
2 | 2 | "root": true, |
3 | 3 | "ignorePatterns": ["projects/**/*"], |
4 | | - "plugins": ["unused-imports"], |
5 | 4 | "overrides": [ |
6 | 5 | { |
7 | 6 | "files": ["*.ts"], |
|
11 | 10 | }, |
12 | 11 | "extends": [ |
13 | 12 | "eslint:recommended", |
14 | | - "plugin:@typescript-eslint/recommended-requiring-type-checking", |
| 13 | + "plugin:@typescript-eslint/eslint-recommended", |
15 | 14 | "plugin:@angular-eslint/all", |
16 | | - "plugin:prettier/recommended" // This should always be the last in the extends array |
| 15 | + "plugin:prettier/recommended" |
17 | 16 | ], |
18 | 17 | "rules": { |
19 | 18 | "@angular-eslint/sort-ngmodule-metadata-arrays": "off", |
20 | 19 | "@angular-eslint/prefer-on-push-component-change-detection": "off", |
21 | | - "unused-imports/no-unused-imports": "error", |
22 | | - "no-console": ["error", { "allow": ["warn", "error"] }], |
23 | | - "@typescript-eslint/unbound-method": "off" |
| 20 | + "no-console": [ |
| 21 | + "error", |
| 22 | + { |
| 23 | + "allow": ["warn", "error"] |
| 24 | + } |
| 25 | + ], |
| 26 | + "@typescript-eslint/unbound-method": "off", |
| 27 | + "@angular-eslint/sort-lifecycle-methods": "off", |
| 28 | + "no-unused-vars": "off", |
| 29 | + "@typescript-eslint/no-unused-vars": [ |
| 30 | + "error", |
| 31 | + { "argsIgnorePattern": "^_" } |
| 32 | + ], |
| 33 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 34 | + "@angular-eslint/prefer-standalone": "off", |
| 35 | + "@angular-eslint/prefer-standalone-component": "off", |
| 36 | + "@angular-eslint/consistent-component-styles": "off" |
24 | 37 | } |
25 | 38 | }, |
26 | 39 | { |
|
33 | 46 | "eslint:recommended", |
34 | 47 | "plugin:@typescript-eslint/recommended-requiring-type-checking", |
35 | 48 | "plugin:@angular-eslint/all", |
36 | | - "plugin:prettier/recommended" // This should always be the last in the extends array |
| 49 | + "plugin:prettier/recommended" |
37 | 50 | ], |
38 | 51 | "rules": { |
39 | 52 | "@angular-eslint/sort-ngmodule-metadata-arrays": "off", |
40 | 53 | "@angular-eslint/prefer-on-push-component-change-detection": "off", |
41 | | - "unused-imports/no-unused-imports": "error", |
42 | | - "no-console": ["error", { "allow": ["warn", "error"] }], |
| 54 | + "no-console": [ |
| 55 | + "error", |
| 56 | + { |
| 57 | + "allow": ["warn", "error"] |
| 58 | + } |
| 59 | + ], |
43 | 60 | "@typescript-eslint/unbound-method": "off", |
44 | 61 | "@typescript-eslint/no-explicit-any": "off", |
45 | | - "@typescript-eslint/ban-types": "off" |
| 62 | + "@typescript-eslint/ban-types": "off", |
| 63 | + "@angular-eslint/prefer-standalone": "off", |
| 64 | + "@angular-eslint/prefer-standalone-component": "off", |
| 65 | + "no-unused-vars": "off", |
| 66 | + "@typescript-eslint/no-unused-vars": [ |
| 67 | + "error", |
| 68 | + { "argsIgnorePattern": "^_" } |
| 69 | + ] |
46 | 70 | } |
47 | 71 | }, |
48 | 72 | { |
49 | 73 | "files": ["*.html"], |
50 | 74 | "extends": [ |
51 | 75 | "plugin:@angular-eslint/template/all", |
52 | | - "plugin:prettier/recommended" // This should always be the last in the extends array |
| 76 | + "plugin:prettier/recommended" |
53 | 77 | ], |
54 | 78 | "rules": { |
55 | 79 | "@angular-eslint/template/i18n": "off", |
|
59 | 83 | "@angular-eslint/template/no-interpolation-in-attributes": "off", |
60 | 84 | "@angular-eslint/template/button-has-type": "off", |
61 | 85 | "@angular-eslint/template/no-inline-styles": "off", |
62 | | - "@angular-eslint/template/accessibility-interactive-supports-focus": "off", |
63 | | - "@angular-eslint/template/attributes-order": "off" |
| 86 | + "@angular-eslint/template/attributes-order": "off", |
| 87 | + "@angular-eslint/template/interactive-supports-focus": "off", |
| 88 | + "@angular-eslint/template/prefer-ngsrc": "off", |
| 89 | + "@angular-eslint/template/prefer-control-flow": "off", |
| 90 | + "@angular-eslint/template/prefer-self-closing-tags": "off" |
64 | 91 | } |
65 | 92 | } |
66 | 93 | ] |
|
0 commit comments