import-js / import-js/eslint-plugin-import
no-extraneous-dependencies: Optionally do not tell the user to use npm
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
My team uses yarn. The error message for no-extraneous-dependencies says:
error 'falcor' should be listed in the project's dependencies. Run 'npm i -S falcor' to add it import/no-extraneous-dependencies
I'd rather either omit the second sentence entirely, or add an option to tell devs to use yarn. Otherwise, it could create confusion on my team.
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
Start at the no-extraneous-dependencies rule and locate the code that formats the npm guidance. Decide whether the completed change omits that sentence or makes it configurable, then cover the chosen behavior in the rule's existing tests.
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
- 42/100