2020-06-04 15:07:14 +00:00
|
|
|
{
|
2021-05-11 13:45:36 +00:00
|
|
|
"root": true,
|
|
|
|
"ignorePatterns": [
|
|
|
|
"projects/**/*"
|
|
|
|
],
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.ts"
|
|
|
|
],
|
|
|
|
"extends": [
|
2023-11-17 08:24:49 +00:00
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:@angular-eslint/recommended",
|
|
|
|
"plugin:@angular-eslint/template/process-inline-templates",
|
|
|
|
"plugin:@ngrx/recommended-requiring-type-checking"
|
2021-05-11 13:45:36 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
2023-05-23 13:02:13 +00:00
|
|
|
"no-console": "error",
|
|
|
|
"no-debugger": "error",
|
2021-05-11 13:45:36 +00:00
|
|
|
"@angular-eslint/directive-selector": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"type": "attribute",
|
|
|
|
"prefix": "sm",
|
|
|
|
"style": "camelCase"
|
|
|
|
}
|
|
|
|
],
|
2023-11-17 08:24:49 +00:00
|
|
|
"@angular-eslint/component-selector": [
|
2021-05-11 13:45:36 +00:00
|
|
|
"error",
|
|
|
|
{
|
2023-11-17 08:24:49 +00:00
|
|
|
"type": "element",
|
|
|
|
"prefix": "sm",
|
|
|
|
"style": "kebab-case"
|
2021-05-11 13:45:36 +00:00
|
|
|
}
|
2020-06-04 15:07:14 +00:00
|
|
|
],
|
2023-11-17 08:24:49 +00:00
|
|
|
"@ngrx/prefer-effect-callback-in-block-statement": "off"
|
2021-05-11 13:45:36 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.html"
|
|
|
|
],
|
|
|
|
"extends": [
|
2023-11-17 08:24:49 +00:00
|
|
|
"plugin:@angular-eslint/template/recommended",
|
|
|
|
"plugin:@angular-eslint/template/accessibility"
|
2021-05-11 13:45:36 +00:00
|
|
|
],
|
2023-05-23 13:02:13 +00:00
|
|
|
"rules": {
|
|
|
|
"@angular-eslint/template/use-track-by-function": "warn"
|
|
|
|
}
|
2020-06-04 15:07:14 +00:00
|
|
|
}
|
2021-05-11 13:45:36 +00:00
|
|
|
]
|
2020-06-04 15:07:14 +00:00
|
|
|
}
|