🛠 Repo: Enable eslint-plugin-n in ESLint config
JoshuaKGoldberg opened this issue · comments
Josh Goldberg ✨ commented
Tooling Suggestion Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
master
branch of the repository. - I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faq
label, but none matched my issue. - I want to provide a PR to resolve this
Overview
eslint-plugin-node
is a devDependency
in package.json
:
Line 95 in 645469e
...but not used in the ESLint config.
The eslint-plugin-n
plugin (the successor to eslint-plugin-node
) is actually useful though. Let's enable from its recommended preset config?
Additional Info
The devDependency
is being removed in #5060, but that's just because it's unused. This issue is suggesting adding it (well, eslint-plugin-n
) back.