fix(eslint-config): use `import/no-duplicates` (#545)

* fix(eslint): use `import/no-duplicates`

* add changeset
pull/546/head
Yusuke Wada 2024-05-26 04:51:22 +09:00 committed by GitHub
parent 44c065aec4
commit 6fe211ba1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/eslint-config': patch
---
fix: use `import/no-duplicates`

View File

@ -25,7 +25,6 @@ module.exports = defineConfig({
quotes: ['error', 'single'],
semi: ['error', 'never'],
'no-debugger': ['error'],
'no-duplicate-imports': 'error',
'no-empty': ['warn', { allowEmptyCatch: true }],
'no-process-exit': 'off',
'no-useless-escape': 'off',
@ -46,6 +45,7 @@ module.exports = defineConfig({
],
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
'import/no-duplicates': 'error',
'node/no-missing-import': 'off',
'node/no-missing-require': 'off',