This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
9.0.0
This major upgrade brings all the bundled plugins up to date with new rules and updated configuration, so we can all enjoy even more thorough code checks on our projects! 🎨
Also, the node
environment preset now includes eslint-plugin-node
for enhanced Node.js-related code analysis, like unsupported syntax/builtins/globals on specific Node.js runtimes or warnings on deprecated API usage.
Breaking changes
- Some rules, especially from the
eslint-plugin-mocha
plugin have been increased fromwarn
toerror
level - Upgraded
eslint-plugin-react
to latest and greatest version and added some new rules witherror
level - Upgraded
eslint-plugin-flowtype
to latest greatest version which contained some breaking parsing changes - Added
eslint-plugin-node
plugin to thenode
environment preset 🎉 💪
Upgrading
Easy way
npm i -D eslint@latest @strv/eslint-plugin-javascript@latest
Hard way
In case the above does not work (you get errors about unknown rules being used or "cannot find module x") you might have to drop the whole ruleset from your project first:
npm remove eslint @strv/eslint-config-javascript
rm -rf node_modules
npm i && npm i -D eslint@latest @strv/eslint-plugin-javascript@latest