47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
|
{
|
||
|
"root": true,
|
||
|
"ignorePatterns": ["projects/**/*"],
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": ["*.ts"],
|
||
|
"parserOptions": {
|
||
|
"project": ["tsconfig.json"],
|
||
|
"createDefaultProgram": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"plugin:@angular-eslint/recommended",
|
||
|
"plugin:@angular-eslint/template/process-inline-templates"
|
||
|
],
|
||
|
"rules": {
|
||
|
"@angular-eslint/component-class-suffix": [
|
||
|
"error",
|
||
|
{
|
||
|
"suffixes": ["Page", "Component"]
|
||
|
}
|
||
|
],
|
||
|
"@angular-eslint/component-selector": [
|
||
|
"error",
|
||
|
{
|
||
|
"type": "element",
|
||
|
"prefix": "app",
|
||
|
"style": "kebab-case"
|
||
|
}
|
||
|
],
|
||
|
"@angular-eslint/directive-selector": [
|
||
|
"error",
|
||
|
{
|
||
|
"type": "attribute",
|
||
|
"prefix": "app",
|
||
|
"style": "camelCase"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"files": ["*.html"],
|
||
|
"extends": ["plugin:@angular-eslint/template/recommended"],
|
||
|
"rules": {}
|
||
|
}
|
||
|
]
|
||
|
}
|