refactor: update socket types

This commit is contained in:
wancat committed 2024-03-28 21:06:09 +08:00
1 parent bb2a1a145f
commit ebd713200c
6 files changed
+120 -19

No files matched your search

+12
View File
@@ -48,6 +48,18 @@ module.exports = {
'no-use-before-define': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
// Allow missing file extensions
'import/extensions': [