Skip to content

Commit

Permalink
Publish v0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amikheychik committed Mar 18, 2024
1 parent c1e59ea commit dab3349
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
:eslint-angular-rules: https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules
:eslint-angular-template-rules: https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/docs/rules

== v0.20.0

* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`
to `link:{eslint-config-tags}/v0.24.0[0.24.0]`.
** `eslint` and `@typescript-eslint` rules are replaced with the https://eslint.style/rules[ESLint Stylistic rules].
** Rules configurations remain the same.
Only rule https://eslint.style/guide/migration[namespaces] have changed.
+
* Updated `@angular-eslint` to `17.3.0`:
** Enabled the `link:{eslint-angular-rules}/consistent-component-styles.md[@angular-eslint/consistent-component-styles]`
rule as an error.
** Enabled the `link:{eslint-angular-rules}/no-async-lifecycle-method.md[@angular-eslint/no-async-lifecycle-method]`
rule as an error.


== v0.19.2

* Patched `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`
Expand Down
31 changes: 31 additions & 0 deletions MIGRATION_GUIDE.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,37 @@ Migration between minor versions follows the same steps:
** fix errors or check auto-fixes of warnings;
** check for the regressions.

== From `v0.19.2` to `v0.20.0`

* Check customizations of the `eslint` and `@typescript-eslint` rules replaced
by the https://eslint.style/rules[ESLint Stylistic rules].
Replace the name of the customized rules with the new rules.
See Stylistic https://eslint.style/guide/migration[migration] documentation for details.
+
* Disable and gradually enable new rules in the `.eslintrc.js`.
+
[source,js]
----
module.exports = {
extends: [
'@perfective/eslint-config-angular',
],
overrides: [
{
files: ['*.[jt]s?(x)'],
rules: {
'@angular-eslint/consistent-component-styles': 'off',
'@angular-eslint/no-async-lifecycle-method': 'off',
'@typescript-eslint/no-array-delete': 'off',
'@typescript-eslint/prefer-find': 'off',
'@typescript-eslint/prefer-promise-reject-errors': 'off',
},
},
],
};
----


== From `v0.18.1` to `v0.19.2`

* Disable and gradually enable new rules in the `.eslintrc.js`.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@perfective/eslint-config-angular",
"version": "0.19.2",
"version": "0.20.0",
"description": "ESLint shareable rules configuration for Angular",
"keywords": [
"angular",
Expand Down

0 comments on commit dab3349

Please sign in to comment.