47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"extends": ["../../.eslintrc.json"],
|
|
"ignorePatterns": ["!**/*"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts"],
|
|
"extends": [
|
|
"plugin:@nrwl/nx/angular",
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
],
|
|
"parserOptions": {
|
|
"project": ["libs/red-ui-http/tsconfig.*?.json"]
|
|
},
|
|
"rules": {
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"type": "attribute",
|
|
"prefix": "redaction",
|
|
"style": "camelCase"
|
|
}
|
|
],
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"type": "element",
|
|
"prefix": "redaction",
|
|
"style": "kebab-case"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"no-control-regex": "off",
|
|
"max-len": "off"
|
|
},
|
|
"plugins": ["@angular-eslint/eslint-plugin", "@typescript-eslint"]
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"extends": ["plugin:@nrwl/nx/angular-template"],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|