Skip to content

Commit 9963ad8

Browse files
committed
Publish v0.22.0
1 parent 974fdef commit 9963ad8

File tree

4 files changed

+249
-52
lines changed

4 files changed

+249
-52
lines changed

CHANGELOG.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
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.22.0
7+
8+
* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`
9+
to `link:{eslint-config-tags}/v0.26.0[0.26.0]`.
10+
** Removed `eslint-plugin-node`.
11+
12+
613
== v0.21.0
714

815
* Updated `link:https://github.com/perfective/eslint-config[@perfective/eslint-config]`

MIGRATION_GUIDE.adoc

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,44 @@ 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.21.0` to `v0.22.0`
13+
14+
* Remove `eslint-plugin-node` from `devDependencies`, if present.
15+
+
16+
* Disable and gradually enable new rules in the `.eslintrc.js`.
17+
+
18+
[source,js]
19+
----
20+
module.exports = {
21+
extends: [
22+
'@perfective/eslint-config-angular',
23+
],
24+
overrides: [
25+
{
26+
files: ['*.[jt]s?(x)'],
27+
rules: {
28+
'security/detect-bidi-characters': 'off',
29+
'security/detect-buffer-noassert': 'off',
30+
'security/detect-child-process': 'off',
31+
'security/detect-disable-mustache-escape': 'off',
32+
'security/detect-eval-with-expression': 'off',
33+
'security/detect-new-buffer': 'off',
34+
'security/detect-no-csrf-before-method-override': 'off',
35+
'security/detect-non-literal-fs-filename': 'off',
36+
'security/detect-non-literal-regexp': 'off',
37+
'security/detect-non-literal-require': 'off',
38+
'security/detect-object-injection': 'off',
39+
'security/detect-possible-timing-attacks': 'off',
40+
'security/detect-pseudoRandomBytes': 'off',
41+
'security/detect-unsafe-regex': 'off',
42+
'unicorn/no-negation-in-equality-check': 'off',
43+
},
44+
},
45+
],
46+
};
47+
----
48+
49+
1250
== From `v0.20.0` to `v0.21.0`
1351

1452
* Replace customized `eslint-plugin-node` rules (if any) with `eslint-plugin-n`:
@@ -31,7 +69,7 @@ with `@typescript-eslint/no-unnecessary-template-expression`.
3169
----
3270
module.exports = {
3371
extends: [
34-
'@perfective/eslint-config',
72+
'@perfective/eslint-config-angular',
3573
],
3674
overrides: [
3775
{

0 commit comments

Comments
 (0)