{ "root": true, "ignorePatterns": [ "projects/**/*" ], "overrides": [ { "files": [ "*.ts" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/template/process-inline-templates" ], "rules": { "@angular-eslint/directive-selector": [ "error", { "type": "attribute", "prefix": "cooee", "style": "camelCase" } ], "@angular-eslint/component-selector": [ "error", { "type": "element", "prefix": "cooee", "style": "kebab-case" } ], "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/member-ordering": "error", "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/explicit-function-return-type": [ "error", { "allowExpressions": true, "allowTypedFunctionExpressions": true, "allowHigherOrderFunctions": true, "allowDirectConstAssertionInArrowFunctions": true, "allowConciseArrowFunctionExpressionsStartingWithVoid": false } ], "@typescript-eslint/indent": [ "error", 4, { "FunctionDeclaration": { "body": 1, "parameters": "first" }, "FunctionExpression": { "body": 1, "parameters": "first" }, "ignoredNodes": [ "Decorator" ], "SwitchCase": 1 } ], "max-len": [ "error", { "code": 120 } ], "no-multiple-empty-lines": [ "error", { "max": 1, "maxEOF": 0 } ], "padded-blocks": [ "error", { "classes": "always", "blocks": "never" } ], "prefer-promise-reject-errors": [ "error", { "allowEmptyReject": true } ], "space-before-function-paren": [ "error", { "anonymous": "always", "named": "never", "asyncArrow": "always" } ] } }, { "files": [ "*.html" ], "extends": [ "plugin:@angular-eslint/template/recommended", "plugin:@angular-eslint/template/accessibility" ], "rules": { "@angular-eslint/template/eqeqeq": "off" } } ] }