mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Replace sonarjs deprecated rule with typescript version
This commit is contained in:
parent
ccd1070417
commit
b885cfdc83
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,7 @@ export default tseslint.config(
|
||||||
|
|
||||||
'sonarjs/fixme-tag': 'warn',
|
'sonarjs/fixme-tag': 'warn',
|
||||||
'sonarjs/todo-tag': 'off',
|
'sonarjs/todo-tag': 'off',
|
||||||
'sonarjs/deprecation': 'warn',
|
'sonarjs/deprecation': 'off',
|
||||||
'sonarjs/no-alphabetical-sort': 'warn',
|
'sonarjs/no-alphabetical-sort': 'warn',
|
||||||
'sonarjs/no-inverted-boolean-check': 'error',
|
'sonarjs/no-inverted-boolean-check': 'error',
|
||||||
'sonarjs/no-selector-parameter': 'off',
|
'sonarjs/no-selector-parameter': 'off',
|
||||||
|
@ -329,6 +329,7 @@ export default tseslint.config(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
'@typescript-eslint/no-deprecated': 'warn',
|
||||||
'@typescript-eslint/no-floating-promises': 'error',
|
'@typescript-eslint/no-floating-promises': 'error',
|
||||||
'@typescript-eslint/prefer-string-starts-ends-with': 'error'
|
'@typescript-eslint/prefer-string-starts-ends-with': 'error'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue