| { |
| "root": true, |
| "ignorePatterns": ["projects/**/*"], |
| "overrides": [ |
| { |
| "files": ["*.ts"], |
| "parserOptions": { |
| "project": ["tsconfig.json", "e2e/tsconfig.json"], |
| "createDefaultProgram": true |
| }, |
| "extends": [ |
| "prettier", |
| "plugin:@angular-eslint/recommended", |
| "plugin:@typescript-eslint/recommended", |
| "plugin:@angular-eslint/template/process-inline-templates" |
| ], |
| "rules": { |
| "@typescript-eslint/no-explicit-any": "off", |
| "@typescript-eslint/no-unused-vars": "off", |
| "@typescript-eslint/no-empty-function": "off", |
| "@typescript-eslint/no-inferrable-types": "off", |
| "@typescript-eslint/ban-types": "off", |
| "@typescript-eslint/ban-ts-comment": "off", |
| "@angular-eslint/component-selector": [ |
| "error", |
| { |
| "prefix": "sp", |
| "style": "kebab-case", |
| "type": "element" |
| } |
| ], |
| "@angular-eslint/directive-selector": [ |
| "error", |
| { |
| "prefix": "sp", |
| "style": "camelCase", |
| "type": "attribute" |
| } |
| ], |
| "@angular-eslint/component-class-suffix": [ |
| "error", |
| { |
| "suffixes": ["Component", "Dialog"] |
| } |
| ] |
| } |
| }, |
| { |
| "files": ["*.html"], |
| "extends": ["plugin:@angular-eslint/template/recommended"], |
| "rules": {} |
| } |
| ] |
| } |