1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 09:40:52 +02:00
beerbrawl/frontend/.eslintrc.json
2024-05-14 13:43:44 +02:00

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"
}
}
]
}