1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/.eslintrc.json

44 lines
973 B
JSON
Raw Normal View History

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": [
"*.component.html"
],
"parser": "@angular-eslint/template-parser",
"parserOptions": {
"project": "./src/frontend/tsconfig.app.json",
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"@angular-eslint/template"
]
}
]
}