Skip to content

Commit

Permalink
Publish v0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amikheychik committed Nov 13, 2024
1 parent 3a7cdb5 commit 30e9b84
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 117 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
: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.23.0

* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`
to `link:{eslint-config-tags}/v0.27.1[0.27.1]`.
** Supports TypeScript v5.6.
+
* Updated `@angular-eslint` to `18.4.0`.
** Enabled the `link:{eslint-angular-rules}/runtime-localize.md[@angular-eslint/runtime-localize]`
rule as an error.


== v0.22.1

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

== From `v0.22.1` to `v0.23.0`

* Remove obsolete peer dependencies:
** `tslint`
** `@typescript-eslint/eslint-plugin-tslint`
** `eslint-plugin-jest-formatting`
** `eslint-plugin-deprecation`
+
* Remove deprecated rules, if present in the custom configuration:
** `@typescript-eslint/ban-types`
** `@typescript-eslint/no-loss-of-precision`
** `deprecation/deprecation`
** `jest-formatting/padding-around-after-all-blocks` (use `jest/padding-around-after-all-blocks`)
** `jest-formatting/padding-around-after-each-blocks` (use `jest/padding-around-after-each-blocks`)
** `jest-formatting/padding-around-all` (use `jest/padding-around-all`)
** `jest-formatting/padding-around-before-all-blocks` (use `jest/padding-around-before-all-blocks`)
** `jest-formatting/padding-around-before-each-blocks` (use `jest/padding-around-before-each-blocks`)
** `jest-formatting/padding-around-describe-blocks` (use `jest/padding-around-describe-blocks`)
** `jest-formatting/padding-around-expect-groups` (use `jest/padding-around-expect-groups`)
** `jest-formatting/padding-around-test-blocks` (use `jest/padding-around-test-blocks`)
+
* 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/runtime-localize': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-unnecessary-type-parameters': 'off',
'@typescript-eslint/no-unnecessary-parameter-property-assignment': 'off',
'@typescript-eslint/no-deprecated': 'off',
'@typescript-eslint/no-restricted-types': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off',
'@typescript-eslint/no-wrapper-object-types': 'off',
'@stylistic/plus/curly-newline': 'off',
'unicorn/consistent-existence-index-check': 'off',
'unicorn/no-length-as-slice-end': 'off',
'unicorn/prefer-global-this': 'off',
'unicorn/prefer-math-min-max': 'off',
'jsdoc/check-template-names': 'off',
'jsdoc/require-hyphen-before-param-description': 'off',
'promise/spec-only': 'off',
// If eslint-plugin-cypress is installed
'cypress/no-debug': 'off',
},
},
],
};
----


== From `v0.22.0` to `v0.22.1`

* Disable and gradually enable new rules in the `.eslintrc.js`.
Expand Down
Loading

0 comments on commit 30e9b84

Please sign in to comment.