Skip to content

Commit 18be291

Browse files
committed
Publish v0.18.0
1 parent 38be6d2 commit 18be291

File tree

4 files changed

+312
-596
lines changed

4 files changed

+312
-596
lines changed

CHANGELOG.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
:eslint-angular-rules: https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules
44
:eslint-angular-template-rules: https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/docs/rules
55

6+
== v0.18.0
7+
8+
* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]` to `link:{eslint-config-tags}/v0.23.0[0.23.0]`.
9+
+
10+
* Updated `@angular-eslint` to `16.3.1`:
11+
** Enabled the `link:{eslint-angular-rules}/sort-lifecycle-methods.md[@angular-eslint/sort-lifecycle-methods]` rule
12+
as an error.
13+
** Enabled the `link:{eslint-angular-template-rules}/prefer-ngsrc.md[@angular-eslint/template/prefer-ngsrc]` rule
14+
as an error.
15+
16+
617
== v0.17.0
718

819
* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]` to `link:{eslint-config-tags}/v0.22.0[0.22.0]`.
@@ -14,7 +25,7 @@
1425
** Marked `eslint-plugin-jest-dom` as an optional peer dependency.
1526
** Marked `eslint-plugin-testing-library` as an optional peer dependency.
1627
+
17-
* Upgraded `@angular-eslint` to `16.1.2`
28+
* Upgraded `@angular-eslint` to `16.1.2`:
1829
** Replaced `@angular-eslint/template/accessibility-alt-text` with `link:{eslint-angular-template-rules}/alt-text.md[@angular-eslint/template/alt-text]`.
1930
** Replaced `@angular-eslint/template/accessibility-elements-content` with `link:{eslint-angular-template-rules}/elements-content.md[@angular-eslint/template/elements-content]`.
2031
** Replaced `@angular-eslint/template/accessibility-interactive-supports-focus` with `link:{eslint-angular-template-rules}/interactive-supports-focus.md[@angular-eslint/template/interactive-supports-focus]`.

MIGRATION_GUIDE.adoc

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,33 @@ 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.17.0` to `v0.18.0`
13+
14+
* Disable and gradually enable new rules in the `.eslintrc.js`.
15+
+
16+
[source,js]
17+
----
18+
module.exports = {
19+
extends: [
20+
'@perfective/eslint-config-angular',
21+
],
22+
overrides: [
23+
{
24+
files: ['*.[jt]s?(x)'],
25+
rules: {
26+
'@angular-eslint/sort-lifecycle-methods': 'off',
27+
'@angular-eslint/template/prefer-ngsrc': 'off',
28+
'@typescript-eslint/no-unsafe-unary-minus': 'off',
29+
'jest/no-confusing-set-timeout': 'off',
30+
'no-object-constructor': 'off',
31+
'testing-library/prefer-implicit-assert': 'off',
32+
},
33+
},
34+
],
35+
};
36+
----
37+
38+
1239
== From `v0.16.0` to `v0.17.0`
1340

1441
* If you do not use `jest`,
@@ -52,7 +79,7 @@ if you have any.
5279
----
5380
module.exports = {
5481
extends: [
55-
'@perfective/eslint-config',
82+
'@perfective/eslint-config-angular',
5683
],
5784
overrides: [
5885
{

0 commit comments

Comments
 (0)