|
| 1 | +{ |
| 2 | + "root": true, |
| 3 | + "ignorePatterns": ["dist", "coverage"], |
| 4 | + "parserOptions": { |
| 5 | + "ecmaVersion": 2020 |
| 6 | + }, |
| 7 | + "overrides": [ |
| 8 | + { |
| 9 | + "files": ["*.ts"], |
| 10 | + "parserOptions": { |
| 11 | + "project": ["tsconfig.json"], |
| 12 | + "createDefaultProgram": true |
| 13 | + }, |
| 14 | + "extends": [ |
| 15 | + "plugin:@angular-eslint/recommended", |
| 16 | + "eslint:recommended", |
| 17 | + "plugin:@typescript-eslint/recommended" |
| 18 | + ], |
| 19 | + "rules": { |
| 20 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 21 | + "@typescript-eslint/ban-ts-comment": "off", |
| 22 | + "@typescript-eslint/no-explicit-any": "off", |
| 23 | + "@typescript-eslint/no-unused-vars": "error", |
| 24 | + "indent": ["error", 2, {"SwitchCase": 1}], |
| 25 | + "quotes": ["warn", "single", "avoid-escape"], |
| 26 | + "linebreak-style": ["error", "unix"], |
| 27 | + "semi": ["error", "always"], |
| 28 | + "no-underscore-dangle": "off", |
| 29 | + "eqeqeq": ["error", "smart"], |
| 30 | + "no-unused-expressions": "off", |
| 31 | + "new-cap" : "off", |
| 32 | + "no-mixed-requires": "off", |
| 33 | + "camelcase": ["error", {"properties": "never"}], |
| 34 | + "no-use-before-define": ["error", "nofunc"], |
| 35 | + "eol-last": ["error", "always"], |
| 36 | + "no-unused-vars": "off", |
| 37 | + "keyword-spacing": "error", |
| 38 | + "comma-style": "error" |
| 39 | + } |
| 40 | + } |
| 41 | + ] |
| 42 | +} |
0 commit comments