2022-04-05 01:37:31 +08:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@angular-eslint/recommended"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.component.ts"
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./src/frontend/tsconfig.app.json",
|
|
|
|
"ecmaVersion": 2020,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@angular-eslint/template"
|
|
|
|
],
|
|
|
|
"processor": "@angular-eslint/template/extract-inline-html"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
2022-04-26 00:09:06 +08:00
|
|
|
"*.component.html",
|
|
|
|
"index.html"
|
2022-04-05 01:37:31 +08:00
|
|
|
],
|
|
|
|
"parser": "@angular-eslint/template-parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./src/frontend/tsconfig.app.json",
|
|
|
|
"ecmaVersion": 2020,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@angular-eslint/template"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|