2024-07-28 03:04:23 -06:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["*.js"],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.ts"],
|
|
|
|
"parserOptions": {
|
|
|
|
"project": ["tsconfig.*?.json"],
|
|
|
|
"createDefaultProgram": true
|
|
|
|
},
|
2024-08-04 04:45:33 -06:00
|
|
|
"extends": ["plugin:@angular-eslint/recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
2024-07-28 03:04:23 -06:00
|
|
|
"rules": {
|
|
|
|
"@angular-eslint/component-class-suffix": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"suffixes": ["Component", "Page"]
|
|
|
|
}
|
|
|
|
],
|
2024-08-04 04:45:33 -06:00
|
|
|
"@angular-eslint/directive-selector": ["error", { "type": "attribute", "prefix": "app", "style": "camelCase" }],
|
|
|
|
"@angular-eslint/component-selector": ["error", { "type": "element", "prefix": "app", "style": "kebab-case" }]
|
2024-07-28 03:04:23 -06:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.html"],
|
|
|
|
"extends": ["plugin:@angular-eslint/template/recommended"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.component.ts"],
|
|
|
|
"extends": ["plugin:@angular-eslint/template/process-inline-templates"]
|
|
|
|
}
|
|
|
|
]
|
2024-08-04 04:45:33 -06:00
|
|
|
}
|