Skip to content

Commit

Permalink
docs: add missing eslint-plugin-node plugin to eslint docs (gatsbyjs#…
Browse files Browse the repository at this point in the history
…9600)

The eslint-plugin-node is required for the recommended eslintrc configuration, but it's not listed in the installation instructions. Without this change, running eslint results in the error `Failed to load plugin node: Cannot find module 'eslint-plugin-node'`.
  • Loading branch information
floretan authored and gpetrioli committed Jan 22, 2019
1 parent 1e5af8c commit 16def07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm rm prettier

# Install ESLint and its packages
npm install --save-dev eslint babel-eslint \
eslint-config-standard \
eslint-config-standard eslint-plugin-node \
eslint-plugin-standard eslint-plugin-react \
eslint-plugin-import eslint-plugin-promise \
```
Expand Down

0 comments on commit 16def07

Please sign in to comment.