@@ -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`.
0 commit comments