Skip to content

Commit

Permalink
fix: disable buggy rule import/no-duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Oct 13, 2024
1 parent b010fe5 commit f614b1e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ export function imports() {
'import/no-mutable-exports': 'warn',
'import/no-useless-path-segments': 'warn',
'import/newline-after-import': 'warn',
'import/no-duplicates': [
'warn',
// Disable `prefer-inline` because of the following bug
// https://github.com/un-ts/eslint-plugin-import-x/issues/167
// { 'prefer-inline': true },
],
// Disable `no-duplicates` because of the following bug
// https://github.com/un-ts/eslint-plugin-import-x/issues/167
// 'import/no-duplicates': [
// 'warn',
// { 'prefer-inline': true },
// ],
'import/order': [
'warn',
{
Expand Down

0 comments on commit f614b1e

Please sign in to comment.