2021-08-10 13:58:37 +00:00
|
|
|
{
|
|
|
|
"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",
|
|
|
|
{
|
2021-08-12 15:04:55 +00:00
|
|
|
"type": "element",
|
2021-08-10 13:58:37 +00:00
|
|
|
"prefix": "app",
|
2021-08-12 15:04:55 +00:00
|
|
|
"style": "kebab-case"
|
2021-08-10 13:58:37 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"@angular-eslint/directive-selector": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-08-12 15:04:55 +00:00
|
|
|
"type": "attribute",
|
2021-08-10 13:58:37 +00:00
|
|
|
"prefix": "app",
|
2021-08-12 15:04:55 +00:00
|
|
|
"style": "camelCase"
|
2021-08-10 13:58:37 +00:00
|
|
|
}
|
2021-08-12 15:04:55 +00:00
|
|
|
],
|
|
|
|
"@typescript-eslint/naming-convention": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"selector": "objectLiteralProperty",
|
|
|
|
"format": ["camelCase", "snake_case"],
|
|
|
|
"leadingUnderscore": "allow",
|
|
|
|
"trailingUnderscore": "allow"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"arrow-body-style": "warn"
|
2021-08-10 13:58:37 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.html"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"plugin:@angular-eslint/template/recommended"
|
|
|
|
],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|