.eslintrc.json 1.95 KB
{
    "root": true,
    "ignorePatterns": [
        "projects/**/*"
    ],
    "overrides": [
        {
            "files": [
                "*.ts"
            ],
            "parserOptions": {
                "project": [
                    "tsconfig.json",
                    "e2e/tsconfig.json"
                ],
                "createDefaultProgram": true
            },
            "extends": [
                "plugin:@angular-eslint/ng-cli-compat",
                "plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
                "plugin:@angular-eslint/template/process-inline-templates"
            ],
            "rules": {
                "@typescript-eslint/explicit-member-accessibility": [
                    "off",
                    {
                        "accessibility": "explicit"
                    }
                ],
                "arrow-parens": [
                    "off",
                    "always"
                ],
                "@angular-eslint/component-selector": [
                    "error",
                    {
                        "prefix": [ "tb" ]
                    }
                ],
                "id-blacklist": [
                    "error",
                    "any",
                    "Number",
                    "String",
                    "string",
                    "Boolean",
                    "boolean",
                    "Undefined",
                    "undefined"
                ],
                "import/order": "off",
                "@typescript-eslint/member-ordering": "off",
                "no-underscore-dangle": "off",
                "@typescript-eslint/naming-convention": "off",
                "jsdoc/newline-after-description": 0
            }
        },
        {
            "files": [
                "*.html"
            ],
            "extends": [
                "plugin:@angular-eslint/template/recommended"
            ],
            "rules": {}
        }
    ]
}