Angular-Template/.eslintrc.json

71 lines
1.4 KiB
JSON
Raw Normal View History

2023-12-12 15:00:31 +03: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": {
2025-01-03 09:14:18 +03:00
"vega/rxjs-no-memory-leaks": "error",
2024-01-13 18:17:16 +03:00
"new-cap": "off",
2024-08-14 04:41:10 +03:00
"brace-style": [
"error",
"allman"
],
"object-curly-spacing": [
"error",
"always"
],
"indent": [
"error",
2
],
2023-12-12 15:00:31 +03:00
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
2024-01-13 17:55:44 +03:00
"prefix": "il",
2023-12-12 15:00:31 +03:00
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
2024-01-13 17:55:44 +03:00
"prefix": "il",
2023-12-12 15:00:31 +03:00
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
],
"rules": {}
2024-08-14 04:41:10 +03:00
},
{
"files": [
"*.ts"
],
"extends": [
"plugin:@ngrx/strict-requiring-type-checking"
]
2023-12-12 15:00:31 +03:00
}
]
2024-08-14 05:10:02 +03:00
}