clearml-web/.eslintrc.json

54 lines
1.2 KiB
JSON
Raw Permalink Normal View History

2020-06-04 15:07:14 +00:00
{
2021-05-11 13:45:36 +00:00
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"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"
}
],
"@angular-eslint/component-selector": [
2021-05-11 13:45:36 +00:00
"error",
{
"type": "element",
"prefix": "sm",
"style": "kebab-case"
2021-05-11 13:45:36 +00:00
}
2020-06-04 15:07:14 +00:00
],
"@ngrx/prefer-effect-callback-in-block-statement": "off"
2021-05-11 13:45:36 +00:00
}
},
{
"files": [
"*.html"
],
"extends": [
"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
}