mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-05 04:53:02 +00:00
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": ["projects/**/*"],
|
|
"extends": ["@openstapps/eslint-config"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts"],
|
|
"extends": [
|
|
"plugin:@angular-eslint/recommended",
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/use-lifecycle-interface": "error",
|
|
"no-console": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"plugins": ["header"],
|
|
"extends": ["plugin:@angular-eslint/template/recommended", "prettier"],
|
|
"rules": {
|
|
"header/header": [
|
|
2,
|
|
"block-html",
|
|
[
|
|
"~ Copyright (C) 2023 StApps",
|
|
" ~ This program is free software: you can redistribute it and/or modify it",
|
|
" ~ under the terms of the GNU General Public License as published by the Free",
|
|
" ~ Software Foundation, version 3.",
|
|
" ~",
|
|
" ~ This program is distributed in the hope that it will be useful, but WITHOUT",
|
|
" ~ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or",
|
|
" ~ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for",
|
|
" ~ more details.",
|
|
" ~",
|
|
" ~ You should have received a copy of the GNU General Public License along with",
|
|
" ~ this program. If not, see <https://www.gnu.org/licenses/>."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|