fix(eslint-config): use `import/no-duplicates` (#545)
* fix(eslint): use `import/no-duplicates` * add changesetpull/546/head
parent
44c065aec4
commit
6fe211ba1f
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hono/eslint-config': patch
|
||||
---
|
||||
|
||||
fix: use `import/no-duplicates`
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue