import-js / import-js/eslint-plugin-import
no-duplicates should also consider `export from`
Open
Nobody has claimed this yet.
enhancement
help wanted
semver-minor
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
The following code could be combined into export { a, b } from "module"; but this rule doesn't seem to consider export.
export { a } from "module";
export { b } from "module";
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the no-duplicates rule and trace how it handles adjacent exports from the same module. Add coverage for the shown export from case, with completion shown by the rule recognizing that the two statements can be combined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100