Skip to content

Commit 24159ce

Browse files
committed
[chore] Update linter config
1 parent 2e598a8 commit 24159ce

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4+
pnpm lint
45
pnpm test

eslint.config.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,6 @@ export default [
3737
'@typescript-eslint/no-explicit-any': 'off',
3838
'@typescript-eslint/no-empty-function': 'off',
3939
'@typescript-eslint/ban-ts-comment': 'off',
40-
'@typescript-eslint/ban-types': [
41-
'error',
42-
{
43-
extendDefaults: true,
44-
types: {
45-
'{}': false,
46-
Function: false,
47-
},
48-
},
49-
],
5040
'import/no-anonymous-default-export': 'off',
5141
'import/prefer-default-export': 'off',
5242
'@typescript-eslint/naming-convention': [

0 commit comments

Comments
 (0)