standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid plugin in `eslint.config.json`

syJSdev opened this issue · comments

What version of this package are you using?
v17.0.0

What operating system, Node.js, and npm version?
OS: Ubuntu
Node: v16.15
npm: v8.5.5

What happened?
eslint.config.json is invalid

Error: Failed to load plugin 'n' declared in '.eslintrc » eslint-config-standard': Cannot find module 'eslint-plugin-n'

What did you expect to happen?
n should be replaced with node

Are you willing to submit a pull request to fix this bug?
Yes

I am closing this issue. It was my fault. Installed eslint-plugin-node instead of eslint-plugin-n
plugin eslint-plugin-n exists.
https://www.npmjs.com/package/eslint-plugin-n