Node rules are deprecated and should switch to eslint-plugin-n
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Describe the issue
All the node node rules. ex:
https://github.com/ni/javascript-styleguide/blob/9003e000f0461a5ce94c0d27af350730cfe7cdec/packages/eslint-config-javascript/lib/node.js#L8
Appear to be deprecated according to the docs, ex:
https://eslint.org/docs/latest/rules/callback-return
Which suggests switching to https://github.com/eslint-community/eslint-plugin-n
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 with packages/eslint-config-javascript/lib/node.js and review the linked ESLint documentation for each deprecated Node rule. Compare those rules with eslint-plugin-n, then update the configuration so the deprecated rules use their supported replacements; done means the Node rules no longer rely on deprecated ESLint rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100