2022-12-21 16:27:47 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": [
|
|
|
|
"projects/**/*"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.ts"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"project": [
|
|
|
|
"tsconfig.json",
|
|
|
|
"e2e/tsconfig.json"
|
|
|
|
],
|
|
|
|
"createDefaultProgram": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2024-02-08 19:37:40 +00:00
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@angular-eslint/recommended",
|
2022-12-21 16:27:47 +00:00
|
|
|
"plugin:@angular-eslint/template/process-inline-templates"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/consistent-type-definitions": "error",
|
|
|
|
"@typescript-eslint/dot-notation": "off",
|
|
|
|
"@typescript-eslint/explicit-member-accessibility": [
|
|
|
|
"off",
|
|
|
|
{
|
|
|
|
"accessibility": "explicit"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/member-ordering": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"default": [
|
|
|
|
"static-field",
|
|
|
|
"instance-field",
|
|
|
|
"static-method",
|
|
|
|
"instance-method"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@angular-eslint/component-selector": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"type": "element",
|
|
|
|
"prefix": ["app", "openlp"],
|
|
|
|
"style": "kebab-case"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@angular-eslint/directive-selector": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"type": "attribute",
|
|
|
|
"prefix": ["app", "openlp"],
|
|
|
|
"style": "camelCase"
|
|
|
|
}
|
|
|
|
],
|
2024-02-08 19:37:40 +00:00
|
|
|
"@angular-eslint/no-empty-lifecycle-method": "off",
|
2022-12-21 16:27:47 +00:00
|
|
|
"@typescript-eslint/naming-convention": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"selector": ["variable"],
|
|
|
|
"modifiers": ["readonly"],
|
|
|
|
"format": ["UPPER_CASE"]
|
|
|
|
}
|
|
|
|
],
|
2024-02-08 19:37:40 +00:00
|
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
2022-12-21 16:27:47 +00:00
|
|
|
"jsdoc/no-types": [
|
|
|
|
"off"
|
|
|
|
],
|
|
|
|
"prefer-arrow/prefer-arrow-functions": [
|
|
|
|
"off"
|
|
|
|
],
|
|
|
|
"brace-style": "off",
|
|
|
|
"@typescript-eslint/brace-style": [
|
|
|
|
"off"
|
|
|
|
],
|
|
|
|
"id-blacklist": "off",
|
|
|
|
"id-match": "off",
|
|
|
|
"no-underscore-dangle": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.html"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"plugin:@angular-eslint/template/recommended"
|
|
|
|
],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|