Skip to content

Commit f616070

Browse files
committed
Update to ESLint v6 and eslint-config-airbnb v18, significantly changing rules that are applied with this config. Fix #4
1 parent a3b563b commit f616070

File tree

5 files changed

+1242
-1412
lines changed

5 files changed

+1242
-1412
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
### Features
10+
11+
- 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)).
12+
- 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.
13+
14+
### BREAKING CHANGES
15+
16+
This release updates most of the dependencies of the config:
17+
18+
| package | from | to |
19+
| ------------------------- | ------- | ------- |
20+
| eslint | ^5.0.0 | ^6.0.0 |
21+
| eslint-config-airbnb | ^17.1.0 | ^18.0.0 |
22+
| eslint-plugin-react | ^7.14.0 | ^7.16.0 |
23+
| eslint-plugin-react-hooks | N/A | ^1.7.0 |
24+
25+
To update, use `npx install-peerdeps --dev eslint-config-torchbox@latest` so all other peerDependencies are updated as well.
26+
27+
---
28+
29+
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.
30+
731
## [0.2.0](https://github.com/torchbox/eslint-config-torchbox/compare/v0.1.0...v0.2.0) (2019-07-16)
832

933
### Features

0 commit comments

Comments
 (0)