refactor(typescript): use generic instead of simple array type (#205)

This commit is contained in:
Marco Pasqualetti
2024-12-07 11:58:58 +01:00
committed by GitHub
parent 08b75b1a79
commit c76464bf8a
20 changed files with 41 additions and 37 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export default tseslint.config(
},
rules: {
// #region @typescript-eslint
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/array-type': ['error', { default: 'generic' }],
'@typescript-eslint/no-wrapper-object-types': 'error',
'@typescript-eslint/no-empty-object-type': 'error',
'@typescript-eslint/no-unsafe-function-type': 'error',