import-js / import-js/eslint-plugin-import

Rule Proposal: No duplicate re-exports (no-duplicate-reexport)

Open
#773 5 comments 1 reaction 0 assignees View on GitHub
help wanted rule proposal
Dominant language
JavaScript
Stars
5.9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

With such a rule, the following would be considered a problem

```js
export {a} from './source-file'
export {b} from './source-file'
export {c} from './source-file'
```

The following would not be considered a problem

```js
export {a, b, c} from './source-file'
```

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating existing re-export rules and their tests in the repository, then compare their conventions with the examples here. Done means the proposed rule detects separate re-exports from the same source while allowing a combined export.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.