|
6 | 6 | "files": ["*.ts"], |
7 | 7 | "extends": ["plugin:@nx/angular", "plugin:@angular-eslint/template/process-inline-templates"], |
8 | 8 | "rules": { |
9 | | - "@angular-eslint/directive-selector": 0, |
10 | | - "@angular-eslint/component-selector": 0, |
11 | | - "@angular-eslint/component-class-suffix": 0, |
12 | | - "@angular-eslint/directive-class-suffix": 0, |
13 | | - "@angular-eslint/no-host-metadata-property": 0, |
14 | | - "@angular-eslint/no-input-rename": 0, |
15 | | - "@typescript-eslint/no-explicit-any": 0, |
16 | | - "@typescript-eslint/no-empty-function": 0 |
| 9 | + "@angular-eslint/directive-selector": "off", |
| 10 | + "@angular-eslint/component-selector": "off", |
| 11 | + "@angular-eslint/component-class-suffix": "off", |
| 12 | + "@angular-eslint/directive-class-suffix": "off", |
| 13 | + "@angular-eslint/no-host-metadata-property": "off", |
| 14 | + "@angular-eslint/no-input-rename": "off", |
| 15 | + "@typescript-eslint/no-explicit-any": "off", |
| 16 | + "@typescript-eslint/no-empty-function": "off", |
| 17 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 18 | + "@typescript-eslint/ban-types": "off", |
| 19 | + "@typescript-eslint/no-empty-interface": "off", |
| 20 | + "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }] |
17 | 21 | } |
18 | 22 | }, |
| 23 | + { |
| 24 | + "files": ["*.spec.ts"], |
| 25 | + "rules": { |
| 26 | + "@nx/enforce-module-boundaries": "off" |
| 27 | + } |
| 28 | + }, |
| 29 | + { |
| 30 | + "files": ["web-gl-rendering-context.ts"], |
| 31 | + "rules": { |
| 32 | + "@typescript-eslint/ban-ts-comment": "off" |
| 33 | + } |
| 34 | + }, |
19 | 35 | { |
20 | 36 | "files": ["*.html"], |
21 | 37 | "extends": ["plugin:@nx/angular-template"], |
|
25 | 41 | "files": ["*.json"], |
26 | 42 | "parser": "jsonc-eslint-parser", |
27 | 43 | "rules": { |
28 | | - "@nx/dependency-checks": "error" |
| 44 | + "@nx/dependency-checks": [ |
| 45 | + "error", |
| 46 | + { |
| 47 | + "ignoredDependencies": [ |
| 48 | + "@analogjs/vite-plugin-angular", |
| 49 | + "@angular/router", |
| 50 | + "@nx/devkit", |
| 51 | + "@nx/vite", |
| 52 | + "@phenomnomnominal/tsquery", |
| 53 | + "nx", |
| 54 | + "rxjs", |
| 55 | + "tslib", |
| 56 | + "vite" |
| 57 | + ] |
| 58 | + } |
| 59 | + ] |
29 | 60 | } |
30 | 61 | } |
31 | 62 | ] |
|
0 commit comments