2020-12-08 06:39:19 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": [
|
|
|
|
"projects/**/*"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.ts"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"project": [
|
2021-11-10 05:23:07 +00:00
|
|
|
"tsconfig.json"
|
2020-12-08 06:39:19 +00:00
|
|
|
],
|
|
|
|
"createDefaultProgram": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2021-01-25 07:14:17 +00:00
|
|
|
"plugin:@angular-eslint/recommended",
|
2022-07-17 03:47:20 +00:00
|
|
|
"plugin:@angular-eslint/template/process-inline-templates",
|
|
|
|
"plugin:@angular-eslint/recommended--extra"
|
2020-12-08 06:39:19 +00:00
|
|
|
],
|
2021-01-25 07:14:17 +00:00
|
|
|
"plugins": [
|
2022-07-15 07:54:25 +00:00
|
|
|
"import",
|
|
|
|
"unused-imports"
|
2021-01-25 07:14:17 +00:00
|
|
|
],
|
2020-12-08 06:39:19 +00:00
|
|
|
"rules": {
|
2021-01-25 07:14:17 +00:00
|
|
|
"@angular-eslint/directive-selector": [
|
2020-12-08 06:39:19 +00:00
|
|
|
"error",
|
|
|
|
{
|
2021-01-25 07:14:17 +00:00
|
|
|
"type": "attribute",
|
2020-12-08 06:39:19 +00:00
|
|
|
"prefix": "app",
|
2021-01-25 07:14:17 +00:00
|
|
|
"style": "camelCase"
|
2020-12-08 06:39:19 +00:00
|
|
|
}
|
|
|
|
],
|
2021-01-25 07:14:17 +00:00
|
|
|
"@angular-eslint/component-selector": [
|
2020-12-08 06:39:19 +00:00
|
|
|
"error",
|
|
|
|
{
|
2021-01-25 07:14:17 +00:00
|
|
|
"type": "element",
|
2020-12-08 06:39:19 +00:00
|
|
|
"prefix": "app",
|
2021-01-25 07:14:17 +00:00
|
|
|
"style": "kebab-case"
|
2020-12-08 06:39:19 +00:00
|
|
|
}
|
|
|
|
],
|
2020-12-08 07:29:26 +00:00
|
|
|
"@typescript-eslint/lines-between-class-members": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"exceptAfterSingleLine": true
|
|
|
|
}
|
|
|
|
],
|
2020-12-08 06:39:19 +00:00
|
|
|
"import/order": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-09-06 15:06:36 +00:00
|
|
|
"alphabetize": {
|
|
|
|
"order": "asc",
|
|
|
|
"caseInsensitive": true
|
|
|
|
},
|
2020-12-08 06:39:19 +00:00
|
|
|
"newlines-between": "always"
|
|
|
|
}
|
2022-07-15 07:54:25 +00:00
|
|
|
],
|
2022-07-17 02:47:13 +00:00
|
|
|
"@typescript-eslint/no-explicit-any": [
|
|
|
|
"error"
|
|
|
|
],
|
2022-07-15 07:54:25 +00:00
|
|
|
"unused-imports/no-unused-imports": "error"
|
2020-12-08 06:39:19 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.html"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"plugin:@angular-eslint/template/recommended"
|
|
|
|
],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|