{ "root": true, "ignorePatterns": [ "frontend-common/**/*" ], "overrides": [ { "files": [ "ClientApp/**/*.ts" ], "parserOptions": { "project": [ "./tsconfig.app.json", "./tsconfig.spec.json" ] // "createDefaultProgram": true }, "extends": [ "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/ng-cli-compat", "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", "plugin:@angular-eslint/template/process-inline-templates" ], "rules": { "arrow-body-style": "off", "@typescript-eslint/naming-convention": "off", "prefer-arrow/prefer-arrow-functions": "off", "comma-spacing": "error", "@typescript-eslint/member-ordering": "off", "@typescript-eslint/consistent-type-assertions": "off", "@angular-eslint/no-output-on-prefix": "off", "@typescript-eslint/no-namespace": "off", "@typescript-eslint/no-shadow": "error", "no-shadow": "off", "@angular-eslint/component-selector": [ "error", { "type": "element", "prefix": [ "gc", "yc" ], "style": "kebab-case" } ], "@angular-eslint/directive-selector": [ "error", { "type": "attribute", "prefix": [ "gc", "yc" ], "style": "camelCase" } ], "@typescript-eslint/consistent-type-definitions": "error", "@typescript-eslint/dot-notation": "off", "@typescript-eslint/explicit-member-accessibility": [ "off", { "accessibility": "explicit" } ], "@typescript-eslint/no-unused-expressions": "off", "brace-style": [ "error", "1tbs" ], "id-blacklist": "off", "id-match": "off", "max-len": [ "off", { "code": 140 } ], "no-irregular-whitespace": "error", "no-underscore-dangle": "off", "padding-line-between-statements": [ "error", { "blankLine": "always", "prev": "*", "next": "return" } ], "space-before-function-paren": ["error", "always"], "space-in-parens": [ "error", "never" ], "comma-dangle": ["error", "never"] } }, { "files": [ "*.html" ], "extends": [ "plugin:@angular-eslint/template/recommended" ], "rules": {} } ] }