Skip to content

Commit aabb51b

Browse files
committed
Publish v0.16.0
1 parent 1275c0f commit aabb51b

File tree

6 files changed

+198
-130
lines changed

6 files changed

+198
-130
lines changed

CHANGELOG.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
:eslint-react-rules: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules
44
:eslint-jsx-a11y-rules: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules
55

6+
== v0.16.0
7+
8+
* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`
9+
to `link:{eslint-config-tags}/v0.27.1[0.27.1]`.
10+
** Supports TypeScript v5.6.
11+
+
12+
* Updated `eslint-plugin-react` to `7.37.2`:
13+
** Enabled the `link:{eslint-react-rules}/forward-ref-uses-ref.md[react/forward-ref-uses-ref]` rule as an error.
14+
** Enabled the `link:{eslint-react-rules}/jsx-props-no-spread-multi.md[react/jsx-props-no-spread-multi]` rule
15+
as an error.
16+
+
17+
* Upgraded `eslint-plugin-react-hooks` to `5.0.0`.
18+
* Updated `eslint-plugin-jsx-a11y` to `6.10.2`.
19+
20+
621
== v0.15.1
722

823
* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`

MIGRATION_GUIDE.adoc

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,67 @@ Migration between minor versions follows the same steps:
99
** fix errors or check auto-fixes of warnings;
1010
** check for the regressions.
1111

12+
== From `v0.15.1` to `v0.16.0`
13+
14+
* Remove obsolete peer dependencies:
15+
** `tslint`
16+
** `@typescript-eslint/eslint-plugin-tslint`
17+
** `eslint-plugin-jest-formatting`
18+
** `eslint-plugin-deprecation`
19+
+
20+
* Remove deprecated rules, if present in the custom configuration:
21+
** `@typescript-eslint/ban-types`
22+
** `@typescript-eslint/no-loss-of-precision`
23+
** `deprecation/deprecation`
24+
** `jest-formatting/padding-around-after-all-blocks` (use `jest/padding-around-after-all-blocks`)
25+
** `jest-formatting/padding-around-after-each-blocks` (use `jest/padding-around-after-each-blocks`)
26+
** `jest-formatting/padding-around-all` (use `jest/padding-around-all`)
27+
** `jest-formatting/padding-around-before-all-blocks` (use `jest/padding-around-before-all-blocks`)
28+
** `jest-formatting/padding-around-before-each-blocks` (use `jest/padding-around-before-each-blocks`)
29+
** `jest-formatting/padding-around-describe-blocks` (use `jest/padding-around-describe-blocks`)
30+
** `jest-formatting/padding-around-expect-groups` (use `jest/padding-around-expect-groups`)
31+
** `jest-formatting/padding-around-test-blocks` (use `jest/padding-around-test-blocks`)
32+
+
33+
* Disable and gradually enable new rules in the `.eslintrc.js`.
34+
+
35+
[source,js]
36+
----
37+
module.exports = {
38+
extends: [
39+
'@perfective/eslint-config-react',
40+
],
41+
overrides: [
42+
{
43+
files: ['*.[jt]s?(x)'],
44+
rules: {
45+
'react/forward-ref-uses-ref': 'off',
46+
'react/jsx-props-no-spread-multi': 'off',
47+
48+
'@typescript-eslint/no-empty-object-type': 'off',
49+
'@typescript-eslint/no-unnecessary-type-parameters': 'off',
50+
'@typescript-eslint/no-unnecessary-parameter-property-assignment': 'off',
51+
'@typescript-eslint/no-deprecated': 'off',
52+
'@typescript-eslint/no-restricted-types': 'off',
53+
'@typescript-eslint/no-unsafe-function-type': 'off',
54+
'@typescript-eslint/no-wrapper-object-types': 'off',
55+
'@stylistic/plus/curly-newline': 'off',
56+
'unicorn/consistent-existence-index-check': 'off',
57+
'unicorn/no-length-as-slice-end': 'off',
58+
'unicorn/prefer-global-this': 'off',
59+
'unicorn/prefer-math-min-max': 'off',
60+
'jsdoc/check-template-names': 'off',
61+
'jsdoc/require-hyphen-before-param-description': 'off',
62+
'promise/spec-only': 'off',
63+
64+
// If eslint-plugin-cypress is installed
65+
'cypress/no-debug': 'off',
66+
},
67+
},
68+
],
69+
};
70+
----
71+
72+
1273
== From `v0.15.0` to `v0.15.1`
1374

1475
* Disable and gradually enable new rules in the `.eslintrc.js`.

README.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,15 @@ npm install --save-dev \
2525
@perfective/eslint-config-react \
2626
@babel/eslint-parser \
2727
@typescript-eslint/eslint-plugin \
28-
@typescript-eslint/eslint-plugin-tslint \
2928
@typescript-eslint/parser \
3029
eslint \
3130
eslint-import-resolver-typescript \
3231
eslint-plugin-array-func \
3332
eslint-plugin-cypress \
34-
eslint-plugin-deprecation \
3533
eslint-plugin-eslint-comments \
3634
eslint-plugin-import \
3735
eslint-plugin-jest \
3836
eslint-plugin-jest-dom \
39-
eslint-plugin-jest-formatting \
4037
eslint-plugin-jsdoc \
4138
eslint-plugin-jsx-a11y \
4239
eslint-plugin-n \
@@ -51,8 +48,7 @@ npm install --save-dev \
5148
eslint-plugin-simple-import-sort \
5249
eslint-plugin-sonarjs \
5350
eslint-plugin-testing-library \
54-
eslint-plugin-unicorn \
55-
tslint
51+
eslint-plugin-unicorn
5652
----
5753
+
5854
. Require the configuration in your root `.eslintrc.js`.

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,15 @@ npm install --save-dev \
2323
@perfective/eslint-config-react \
2424
@babel/eslint-parser \
2525
@typescript-eslint/eslint-plugin \
26-
@typescript-eslint/eslint-plugin-tslint \
2726
@typescript-eslint/parser \
2827
eslint \
2928
eslint-import-resolver-typescript \
3029
eslint-plugin-array-func \
3130
eslint-plugin-cypress \
32-
eslint-plugin-deprecation \
3331
eslint-plugin-eslint-comments \
3432
eslint-plugin-import \
3533
eslint-plugin-jest \
3634
eslint-plugin-jest-dom \
37-
eslint-plugin-jest-formatting \
3835
eslint-plugin-jsdoc \
3936
eslint-plugin-jsx-a11y \
4037
eslint-plugin-n \
@@ -49,8 +46,7 @@ npm install --save-dev \
4946
eslint-plugin-simple-import-sort \
5047
eslint-plugin-sonarjs \
5148
eslint-plugin-testing-library \
52-
eslint-plugin-unicorn \
53-
tslint
49+
eslint-plugin-unicorn
5450
```
5551

5652
2. Require the configuration in your root `.eslintrc.js`.

0 commit comments

Comments
 (0)