🛠 Repo: Enable eslint-plugin-n in ESLint config #5063
Labels
area: repository tooling
concerning ease of contribution
core-team
issues which must be handled by Mocha's core team
status: accepting prs
Mocha can use your help with this one!
type: chore
generally involving deps, tooling, configuration, etc.
Tooling Suggestion Checklist
master
branch of the repository.faq
label, but none matched my issue.Overview
eslint-plugin-node
is adevDependency
inpackage.json
:mocha/package.json
Line 95 in 645469e
...but not used in the ESLint config.
The
eslint-plugin-n
plugin (the successor toeslint-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.The text was updated successfully, but these errors were encountered: