refactor: Improve type safety and error handling across multiple files, eslint fix
This commit is contained in:
@@ -8,5 +8,18 @@ module.exports = tseslint.config(
|
||||
eslint.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
|
||||
{
|
||||
rules: {
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"warn",
|
||||
{
|
||||
"argsIgnorePattern": "^_",
|
||||
"varsIgnorePattern": "^_",
|
||||
"caughtErrorsIgnorePattern": "^_"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
eslintConfigPrettier
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user