fix(eslint-config): `no-unused-vars` as `warn` (#306)

* fix(eslint-config): `no-unused-vars` as `warn`

* changeset
pull/307/head
Yusuke Wada 2023-12-13 21:56:22 +09:00 committed by GitHub
parent 8aabb93065
commit 165a415ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/eslint-config': patch
---
fix: `no-unused-vars` as `warn`

View File

@ -56,6 +56,7 @@ module.exports = defineConfig({
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }],
},