2020-12-08 13:20:46 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": [
|
|
|
|
"projects/**/*"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.ts"
|
|
|
|
],
|
|
|
|
"extends": [
|
2023-02-20 13:19:17 +00:00
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
2021-03-17 04:09:56 +00:00
|
|
|
"plugin:@angular-eslint/recommended",
|
2021-04-23 07:47:14 +00:00
|
|
|
"plugin:@angular-eslint/template/process-inline-templates",
|
2023-03-13 18:22:44 +00:00
|
|
|
"prettier"
|
2020-12-08 13:20:46 +00:00
|
|
|
],
|
2021-03-17 04:09:56 +00:00
|
|
|
"plugins": [
|
2023-02-20 13:19:17 +00:00
|
|
|
"import",
|
|
|
|
"unused-imports"
|
2021-03-17 04:09:56 +00:00
|
|
|
],
|
2020-12-08 13:20:46 +00:00
|
|
|
"rules": {
|
2021-03-17 04:09:56 +00:00
|
|
|
"@angular-eslint/directive-selector": [
|
2020-12-08 13:20:46 +00:00
|
|
|
"error",
|
|
|
|
{
|
2021-03-17 04:09:56 +00:00
|
|
|
"type": "attribute",
|
2020-12-08 13:20:46 +00:00
|
|
|
"prefix": "app",
|
2021-03-17 04:09:56 +00:00
|
|
|
"style": "camelCase"
|
2020-12-08 13:20:46 +00:00
|
|
|
}
|
|
|
|
],
|
2021-03-17 04:09:56 +00:00
|
|
|
"@angular-eslint/component-selector": [
|
2020-12-08 13:20:46 +00:00
|
|
|
"error",
|
|
|
|
{
|
2021-03-17 04:09:56 +00:00
|
|
|
"type": "element",
|
2020-12-08 13:20:46 +00:00
|
|
|
"prefix": "app",
|
2021-03-17 04:09:56 +00:00
|
|
|
"style": "kebab-case"
|
2020-12-08 13:20:46 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/lines-between-class-members": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"exceptAfterSingleLine": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"import/order": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-03-18 01:41:41 +00:00
|
|
|
"alphabetize": {
|
|
|
|
"order": "asc",
|
|
|
|
"caseInsensitive": true
|
|
|
|
},
|
2020-12-08 13:20:46 +00:00
|
|
|
"newlines-between": "always"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/no-explicit-any": [
|
|
|
|
"error"
|
2023-02-20 13:19:17 +00:00
|
|
|
],
|
|
|
|
"unused-imports/no-unused-imports": "error",
|
|
|
|
"@typescript-eslint/no-empty-function": "off"
|
2020-12-08 13:20:46 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.html"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"plugin:@angular-eslint/template/recommended"
|
|
|
|
],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|