mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 03:22:48 +00:00
96 lines
2.3 KiB
JSON
96 lines
2.3 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": [
|
|
"projects/**/*"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts"
|
|
],
|
|
"parserOptions": {
|
|
"project": [
|
|
"tsconfig.json",
|
|
"e2e/tsconfig.json"
|
|
],
|
|
"createDefaultProgram": true
|
|
},
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@angular-eslint/recommended",
|
|
"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"
|
|
}
|
|
],
|
|
"@angular-eslint/no-empty-lifecycle-method": "off",
|
|
"@typescript-eslint/naming-convention": [
|
|
"error",
|
|
{
|
|
"selector": ["variable"],
|
|
"modifiers": ["readonly"],
|
|
"format": ["UPPER_CASE"]
|
|
}
|
|
],
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"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": {}
|
|
}
|
|
]
|
|
}
|