48 lines
926 B
JSON
48 lines
926 B
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": [
|
|
"projects/**/*"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts"
|
|
],
|
|
"parserOptions": {
|
|
"createDefaultProgram": true
|
|
},
|
|
"extends": [
|
|
"plugin:@angular-eslint/recommended",
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"prefix": "app",
|
|
"style": "kebab-case",
|
|
"type": "element"
|
|
}
|
|
],
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"prefix": "app",
|
|
"style": "camelCase",
|
|
"type": "attribute"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.html"
|
|
],
|
|
"extends": [
|
|
"plugin:@angular-eslint/template/recommended"
|
|
],
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|