Skip to content

Commit

Permalink
Fix: ignore unmergable imports when checking no-duplicate-imports (fixes
Browse files Browse the repository at this point in the history
 eslint#13180) & Fix: Ignore re-export all in no-duplicate-imports (fixes eslint#12760)
  • Loading branch information
boutahlilsoufiane committed May 2, 2021
1 parent d1704cd commit 2a86577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-duplicate-imports.md
Expand Up @@ -70,7 +70,7 @@ export { find };
```

There is a special case even the export is duplicate we ignore it, because it can't be merged with another import/export from the same source, it's when we have export with type export *.

Example of **correct** code for this rule with the `{ "includeExports": true }` option:

```js
Expand Down

0 comments on commit 2a86577

Please sign in to comment.