Angular-Template/.eslintrc.json

70 lines
1.4 KiB
JSON
Raw Normal View History

2023-12-12 13:00:31 +01:00
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"google",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
2024-01-13 16:17:16 +01:00
"new-cap": "off",
2024-08-14 03:41:10 +02:00
"brace-style": [
"error",
"allman"
],
"object-curly-spacing": [
"error",
"always"
],
"indent": [
"error",
2
],
2023-12-12 13:00:31 +01:00
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
2024-01-13 15:55:44 +01:00
"prefix": "il",
2023-12-12 13:00:31 +01:00
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
2024-01-13 15:55:44 +01:00
"prefix": "il",
2023-12-12 13:00:31 +01:00
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
],
"rules": {}
2024-08-14 03:41:10 +02:00
},
{
"files": [
"*.ts"
],
"extends": [
"plugin:@ngrx/strict-requiring-type-checking"
]
2023-12-12 13:00:31 +01:00
}
]
2024-08-14 04:10:02 +02:00
}