mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
refactor(typescript): use generic instead of simple array type (#205)
This commit is contained in:
committed by
GitHub
parent
08b75b1a79
commit
c76464bf8a
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user