v0.3.0
0.3.0 (2019-10-08)
Features
- Update to ESLint v6 and eslint-config-airbnb v18, significantly changing rules that are applied with this config (#4, #10).
- Include rules for the React Rules of hooks (#3, #10), from the airbnb config update.
- Automatically detect which version of React is being used on the project to lint accordingly (part of the airbnb config update) (#10).
BREAKING CHANGES
This release updates most of the dependencies of the config:
package | from | to |
---|---|---|
eslint | ^5.0.0 | ^6.0.0 |
eslint-config-airbnb | ^17.1.0 | ^18.0.0 |
eslint-plugin-react | ^7.14.0 | ^7.16.0 |
eslint-plugin-react-hooks | N/A | ^1.7.0 |
To update, use npx install-peerdeps --dev eslint-config-torchbox@latest
so all other peerDependencies are updated as well.
Additionally, this config now requires react
to be defined as a dependency on the project. Please refer to our React configuration instructions if you wish to bypass this.