|
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/no-input-rename": 0, |
13 | | - "@angular-eslint/no-output-native": 0 |
| 9 | + "@angular-eslint/directive-selector": "off", |
| 10 | + "@angular-eslint/component-selector": "off", |
| 11 | + "@angular-eslint/directive-class-suffix": "off", |
| 12 | + "@angular-eslint/component-class-suffix": "off", |
| 13 | + "@angular-eslint/no-input-rename": "off", |
| 14 | + "@angular-eslint/no-output-native": "off", |
| 15 | + "@typescript-eslint/no-explicit-any": "off", |
| 16 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 17 | + "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }] |
14 | 18 | } |
15 | 19 | }, |
16 | | - { |
17 | | - "files": ["*.html"], |
18 | | - "extends": ["plugin:@nx/angular-template"], |
19 | | - "rules": {} |
20 | | - }, |
21 | | - { |
22 | | - "files": ["*.json"], |
23 | | - "parser": "jsonc-eslint-parser", |
24 | | - "rules": { |
25 | | - "@nx/dependency-checks": "error" |
26 | | - } |
27 | | - } |
| 20 | + { |
| 21 | + "files": ["setup-canvas.ts", "*.stories.ts"], |
| 22 | + "rules": { |
| 23 | + "@typescript-eslint/ban-types": "off", |
| 24 | + "@typescript-eslint/no-empty-function": "off" |
| 25 | + } |
| 26 | + }, |
| 27 | + { |
| 28 | + "files": ["*.html"], |
| 29 | + "extends": ["plugin:@nx/angular-template"], |
| 30 | + "rules": {} |
| 31 | + }, |
| 32 | + { |
| 33 | + "files": ["*.json"], |
| 34 | + "parser": "jsonc-eslint-parser", |
| 35 | + "rules": { |
| 36 | + "@nx/dependency-checks": [ |
| 37 | + "error", |
| 38 | + { |
| 39 | + "ignoredDependencies": [ |
| 40 | + "@analogjs/vite-plugin-angular", |
| 41 | + "@angular/common", |
| 42 | + "@nx/vite", |
| 43 | + "@storybook/angular", |
| 44 | + "angular-three", |
| 45 | + "hls.js", |
| 46 | + "meshline", |
| 47 | + "ngxtension", |
| 48 | + "tslib", |
| 49 | + "vite" |
| 50 | + ] |
| 51 | + } |
| 52 | + ] |
| 53 | + } |
| 54 | + } |
28 | 55 | ] |
29 | 56 | } |
0 commit comments