import-js / import-js/eslint-plugin-import
Add `allowReexport` option to `no-default-export`
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, `no-default-export` reports `export {default} from "foo"`. Re-export is usuful in some cases. Supporting `allowReexport` option to not report it is reasonable.
Contributor guide
Research direction
Locate the implementation and tests for the no-default-export rule, then read how its options are defined and how re-exports are covered. Run the existing rule tests first; done means an allowReexport option prevents reporting export {default} from "foo" while preserving current reports for other default exports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100