This repository was 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-mochaplugin have been increased fromwarntoerrorlevel - Upgraded
eslint-plugin-reactto latest and greatest version and added some new rules witherrorlevel - Upgraded
eslint-plugin-flowtypeto latest greatest version which contained some breaking parsing changes - Added
eslint-plugin-nodeplugin to thenodeenvironment 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