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'],
|
quotes: ['error', 'single'],
|
||||||
semi: ['error', 'never'],
|
semi: ['error', 'never'],
|
||||||
'no-debugger': ['error'],
|
'no-debugger': ['error'],
|
||||||
'no-duplicate-imports': 'error',
|
|
||||||
'no-empty': ['warn', { allowEmptyCatch: true }],
|
'no-empty': ['warn', { allowEmptyCatch: true }],
|
||||||
'no-process-exit': 'off',
|
'no-process-exit': 'off',
|
||||||
'no-useless-escape': 'off',
|
'no-useless-escape': 'off',
|
||||||
|
@ -46,6 +45,7 @@ module.exports = defineConfig({
|
||||||
],
|
],
|
||||||
|
|
||||||
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
|
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
|
||||||
|
'import/no-duplicates': 'error',
|
||||||
|
|
||||||
'node/no-missing-import': 'off',
|
'node/no-missing-import': 'off',
|
||||||
'node/no-missing-require': 'off',
|
'node/no-missing-require': 'off',
|
||||||
|
|
Loading…
Reference in New Issue