mirror of
https://codeberg.org/beerbrawl/beerbrawl.git
synced 2024-09-23 05:40:51 +02:00
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": ["projects/**/*", "dist/**/*", ".angular/**/*", "openapi-generated/**/*"],
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": ["prettier"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts"],
|
|
"parserOptions": {
|
|
"project": ["tsconfig.json"],
|
|
"createDefaultProgram": true
|
|
},
|
|
"extends": ["plugin:@angular-eslint/template/process-inline-templates"],
|
|
"rules": {
|
|
"@typescript-eslint/dot-notation": "off",
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"@typescript-eslint/explicit-member-accessibility": [
|
|
"off",
|
|
{
|
|
"accessibility": "explicit"
|
|
}
|
|
],
|
|
"brace-style": ["error", "1tbs"],
|
|
"id-blacklist": "off",
|
|
"id-match": "off",
|
|
"no-underscore-dangle": "off",
|
|
"jsdoc/newline-after-description": "off"
|
|
}
|
|
},
|
|
{
|
|
"parser": "@angular-eslint/template-parser",
|
|
"files": ["*.html"],
|
|
"extends": ["plugin:@angular-eslint/template/recommended"],
|
|
"rules": {
|
|
"@angular-eslint/template/prefer-control-flow": "error"
|
|
}
|
|
}
|
|
]
|
|
}
|