mochajs / mocha

☕️ simple, flexible, fun javascript test framework for node.js & the browser

Home Page:https://mochajs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🛠 Repo: Enable eslint-plugin-n in ESLint config

JoshuaKGoldberg opened this issue · comments

Tooling Suggestion Checklist

Overview

eslint-plugin-node is a devDependency in package.json:

"eslint-plugin-node": "^11.1.0",

...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.