Releases: Skyscanner/eslint-config-skyscanner
Releases · Skyscanner/eslint-config-skyscanner
12.0.0
What's Changed
Breaking
- Drops support for Node versions < 16. No new functionality is introduced, but from this point forwards it should not be assumed Node 12 will work.
- Bump
eslint-plugin-backpack
to latest.
Full Changelog: v11.1.0...v12.0.0
11.1.0
Updated
- Take into account css files in import groups order (fixable using
--fix
). - Revert enforcing imports being sorted alphabetically; do not specify
- Bump eslint-plugin-prettier from 3.4.1 to 4.0.0
- Bump @typescript-eslint/parser from 5.10.1 to 5.12.0
- Bump @typescript-eslint/eslint-plugin from 5.10.1 to 5.12.0
v11.0.0
Breaking
- Published under the
@skyscanner/
scope. To upgrade:- First uninstall
eslint-config-skyscanner
, then install@skyscanner/eslint-config-skyscanner
. - In
eslintrc
file, update fromextends: ['skyscanner']
toextends: ['@skyscanner/skyscanner']
.
- First uninstall
- Change import groups order, and paths must be sorted alphabetically (fixable using
--fix
). - Require object destructure key to be sorted (fixable using
--fix
). - Bump eslint-plugin-jest-formatting from 2.0.1 to 3.1.0
- Bump eslint-plugin-jest from 24.3.6 to 26.0.0
Updated
- Bump eslint from 7.25.0 to 7.32.0
- Bump eslint-plugin-import from 2.22.1 to 2.25.4
- Bump @typescript-eslint/parser from 5.9.1 to 5.10.1
- Bump @typescript-eslint/eslint-plugin from 5.9.0 to 5.10.1
10.4.0
- Add
consistent-type-imports
to prefertype-imports
- Bump @typescript-eslint/eslint-plugin from 5.8.0 to 5.9.0
- Bump @typescript-eslint/parser from 5.8.0 to 5.9.1
- Bump prettier from 2.3.2 to 2.5.1
10.3.0
- Bump
@typescript-eslint/eslint-plugin
from5.3.0
to5.8.0
- Bump
@typescript-eslint/parser
from5.1.0
to5.8.0
- Bump
eslint-plugin-react
from7.24.0
to7.28.0
- Bump
lint-staged
from12.0.2
to12.1.4
- Bump
jest
from26.6.3
to27.4.5
- Bump
eslint-plugin-jsx-a11y
from6.4.1
to6.5.1
10.2.0
Patched
- Upgrading
eslint-plugin-typescript-enum
from2.0.11
to2.1.0
- Upgrading
eslint-plugin-prettier
from3.4.0
to3.4.1
- Upgrading
eslint-plugin-react-hooks
from4.2.0
to4.3.0
- Upgrading
prettier
from2.3.0
to2.3.2
10.1.0
- Add
@typescript-eslint/array-type
rule and specifyarray-simple
for TypeScript files.
10.0.0
- Support TypeScript. These changes are only breaking if you were already using TypeScript in your project.
- Adds overrides for
.ts?(x)
files taken from react-scripts, adds@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
. - Adds config for
.ts?(x)
extensions underimport/extensions
- Adds
eslint-plugin-typescript-enum
to disallow TypeScript language expression featureenum
- Adds overrides for
- Bump
prettier
from2.2.1
to2.3.0
- Bump eslint-plugin-react from
7.23.2
to7.24.0