1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00
pigallery2/.eslintrc.json
2022-04-04 19:37:31 +02:00

44 lines
973 B
JSON

{
"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"
]
}
]
}