diff --git a/.husky/pre-commit b/.husky/pre-commit index af0cff7..506dd56 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" +pnpm lint pnpm test diff --git a/eslint.config.js b/eslint.config.js index 7090ea1..853cd7e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -37,16 +37,6 @@ export default [ '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/ban-ts-comment': 'off', - '@typescript-eslint/ban-types': [ - 'error', - { - extendDefaults: true, - types: { - '{}': false, - Function: false, - }, - }, - ], 'import/no-anonymous-default-export': 'off', 'import/prefer-default-export': 'off', '@typescript-eslint/naming-convention': [