Skip to content

Commit

Permalink
Release v0.3.0 (#11)
Browse files Browse the repository at this point in the history
### Features

- Update to ESLint v6 and eslint-config-airbnb v18, significantly changing rules that are applied with this config ([#4](#4), [#10](#10)).
- Include rules for the React [Rules of hooks](https://reactjs.org/docs/hooks-rules.html) ([#3](#3), [#10](#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](#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](https://github.com/torchbox/eslint-config-torchbox#react) if you wish to bypass this.
  • Loading branch information
thibaudcolas authored Oct 8, 2019
1 parent efec74b commit cceca51
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 182 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

## [0.3.0](https://github.com/torchbox/eslint-config-torchbox/compare/v0.2.0...v0.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](https://github.com/torchbox/eslint-config-torchbox/issues/4)).
- Include rules for the React [Rules of hooks](https://reactjs.org/docs/hooks-rules.html) ([#3](https://github.com/torchbox/eslint-config-torchbox/issues/3)), 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).
- Update to ESLint v6 and eslint-config-airbnb v18, significantly changing rules that are applied with this config ([#4](https://github.com/torchbox/eslint-config-torchbox/issues/4), [#10](https://github.com/torchbox/eslint-config-torchbox/pull/10)).
- Include rules for the React [Rules of hooks](https://reactjs.org/docs/hooks-rules.html) ([#3](https://github.com/torchbox/eslint-config-torchbox/issues/3), [#10](https://github.com/torchbox/eslint-config-torchbox/pull/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](https://github.com/torchbox/eslint-config-torchbox/pull/10)).

### BREAKING CHANGES

Expand Down
Loading

0 comments on commit cceca51

Please sign in to comment.