mirror of
https://github.com/safing/portmaster
synced 2025-04-13 15:39:11 +00:00
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": [
|
|
"projects/**/*"
|
|
],
|
|
"parserOptions": {
|
|
"tsconfigRootDir": "desktop/angular"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@angular-eslint/recommended",
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"type": "attribute",
|
|
"prefix": "app",
|
|
"style": "camelCase"
|
|
}
|
|
],
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"type": "element",
|
|
"prefix": "app",
|
|
"style": "kebab-case"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.html"
|
|
],
|
|
"extends": [
|
|
"plugin:@angular-eslint/template/recommended",
|
|
"plugin:@angular-eslint/template/accessibility"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/template/click-events-have-key-events": "off",
|
|
"@angular-eslint/template/interactive-supports-focus": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|