import-js / import-js/eslint-plugin-import
Rule Proposal: No duplicate re-exports (no-duplicate-reexport)
Open
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
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