Skip to content

Commit

Permalink
Publish v0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amikheychik committed Jun 27, 2024
1 parent 974fdef commit 9963ad8
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 52 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
: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.22.0

* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`
to `link:{eslint-config-tags}/v0.26.0[0.26.0]`.
** Removed `eslint-plugin-node`.


== v0.21.0

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

== From `v0.21.0` to `v0.22.0`

* Remove `eslint-plugin-node` from `devDependencies`, if present.
+
* 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: {
'security/detect-bidi-characters': 'off',
'security/detect-buffer-noassert': 'off',
'security/detect-child-process': 'off',
'security/detect-disable-mustache-escape': 'off',
'security/detect-eval-with-expression': 'off',
'security/detect-new-buffer': 'off',
'security/detect-no-csrf-before-method-override': 'off',
'security/detect-non-literal-fs-filename': 'off',
'security/detect-non-literal-regexp': 'off',
'security/detect-non-literal-require': 'off',
'security/detect-object-injection': 'off',
'security/detect-possible-timing-attacks': 'off',
'security/detect-pseudoRandomBytes': 'off',
'security/detect-unsafe-regex': 'off',
'unicorn/no-negation-in-equality-check': 'off',
},
},
],
};
----


== From `v0.20.0` to `v0.21.0`

* Replace customized `eslint-plugin-node` rules (if any) with `eslint-plugin-n`:
Expand All @@ -31,7 +69,7 @@ with `@typescript-eslint/no-unnecessary-template-expression`.
----
module.exports = {
extends: [
'@perfective/eslint-config',
'@perfective/eslint-config-angular',
],
overrides: [
{
Expand Down
Loading

0 comments on commit 9963ad8

Please sign in to comment.