|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "ignorePatterns": ["dist"], |
| 4 | + "overrides": [ |
| 5 | + { |
| 6 | + "files": ["*.ts"], |
| 7 | + "parserOptions": { |
| 8 | + "project": ["tsconfig.json", "e2e/tsconfig.json"], |
| 9 | + "createDefaultProgram": true |
| 10 | + }, |
| 11 | + "extends": [ |
| 12 | + "eslint:recommended", |
| 13 | + "plugin:@typescript-eslint/recommended", |
| 14 | + "plugin:@typescript-eslint/recommended-type-checked", |
| 15 | + "plugin:@angular-eslint/recommended", |
| 16 | + "plugin:@angular-eslint/template/process-inline-templates" |
| 17 | + ], |
| 18 | + "rules": { |
| 19 | + "max-len": [ |
| 20 | + "warn", |
| 21 | + { |
| 22 | + "code": 100, |
| 23 | + "ignoreComments": true, |
| 24 | + "ignoreStrings": true, |
| 25 | + "ignoreTemplateLiterals": true |
| 26 | + } |
| 27 | + ], |
| 28 | + "object-shorthand": [ |
| 29 | + "warn", |
| 30 | + "always", |
| 31 | + { |
| 32 | + "avoidQuotes": true |
| 33 | + } |
| 34 | + ], |
| 35 | + "quote-props": ["warn", "consistent-as-needed"], |
| 36 | + "quotes": [ |
| 37 | + "warn", |
| 38 | + "single", |
| 39 | + { |
| 40 | + "allowTemplateLiterals": true |
| 41 | + } |
| 42 | + ], |
| 43 | + "semi": ["warn", "always"], |
| 44 | + "@typescript-eslint/explicit-module-boundary-types": "off", |
| 45 | + "@typescript-eslint/no-explicit-any": "off", |
| 46 | + "@typescript-eslint/no-empty-function": "off", |
| 47 | + "@typescript-eslint/no-floating-promises": "off", |
| 48 | + "@typescript-eslint/no-inferrable-types": "off", |
| 49 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 50 | + "@typescript-eslint/no-unsafe-assignment": "off", |
| 51 | + "@typescript-eslint/no-unsafe-argument": "off", |
| 52 | + "@typescript-eslint/no-unsafe-call": "off", |
| 53 | + "@typescript-eslint/no-unsafe-return": "off", |
| 54 | + "@typescript-eslint/no-unsafe-member-access": "off", |
| 55 | + "@typescript-eslint/no-unused-vars": "off", |
| 56 | + "@typescript-eslint/unbound-method": "off", |
| 57 | + "@angular-eslint/component-class-suffix": "off", |
| 58 | + "@angular-eslint/component-selector": "off", |
| 59 | + "@angular-eslint/directive-class-suffix": "off", |
| 60 | + "@angular-eslint/directive-selector": "off", |
| 61 | + "@angular-eslint/no-empty-lifecycle-method": "off", |
| 62 | + "@angular-eslint/no-host-metadata-property": "off", |
| 63 | + "@angular-eslint/no-input-rename": "off", |
| 64 | + "@angular-eslint/no-inputs-metadata-property": "off", |
| 65 | + "@angular-eslint/no-output-native": "off", |
| 66 | + "@angular-eslint/no-output-rename": "off" |
| 67 | + } |
| 68 | + }, |
| 69 | + { |
| 70 | + "files": ["*.html"], |
| 71 | + "extends": ["plugin:@angular-eslint/template/recommended"], |
| 72 | + "rules": {} |
| 73 | + }, |
| 74 | + { |
| 75 | + "files": ["*.js"], |
| 76 | + "parserOptions": { |
| 77 | + "ecmaVersion": 11 |
| 78 | + }, |
| 79 | + "env": { |
| 80 | + "node": true, |
| 81 | + "amd": true |
| 82 | + }, |
| 83 | + "extends": ["eslint:recommended"], |
| 84 | + "rules": {} |
| 85 | + } |
| 86 | + ] |
| 87 | +} |
0 commit comments