mirror of
https://github.com/clearml/clearml-web
synced 2025-01-31 06:26:57 +00:00
34f2167598
Co-authored-by: shallegro <shay@allego.ai>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"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"
|
|
],
|
|
"rules": {
|
|
"no-console": "error",
|
|
"no-debugger": "error",
|
|
"@angular-eslint/directive-selector": [
|
|
"error",
|
|
{
|
|
"type": "attribute",
|
|
"prefix": "sm",
|
|
"style": "camelCase"
|
|
}
|
|
],
|
|
"@angular-eslint/component-selector": [
|
|
"error",
|
|
{
|
|
"type": "element",
|
|
"prefix": "sm",
|
|
"style": "kebab-case"
|
|
}
|
|
],
|
|
"@ngrx/prefer-effect-callback-in-block-statement": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.html"
|
|
],
|
|
"extends": [
|
|
"plugin:@angular-eslint/template/recommended",
|
|
"plugin:@angular-eslint/template/accessibility"
|
|
],
|
|
"rules": {
|
|
"@angular-eslint/template/use-track-by-function": "warn"
|
|
}
|
|
}
|
|
]
|
|
}
|