Skip to content

Commit

Permalink
Publish v0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amikheychik committed Jun 27, 2024
1 parent 342cb6a commit 2064b35
Show file tree
Hide file tree
Showing 5 changed files with 579 additions and 483 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-react-rules: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules
:eslint-jsx-a11y-rules: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules

== v0.15.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` dependency.
** Added `eslint-plugin-security` dependency.
+
* Patched `eslint-plugin-react` to `7.34.3`.
* Updated `eslint-plugin-jsx-a11y` to `6.9.0`.


== v0.14.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.14.0` to `v0.15.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-react',
],
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.13.0` to `v0.14.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-react',
],
overrides: [
{
Expand Down
3 changes: 2 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ npm install --save-dev \
eslint-plugin-jest-formatting \
eslint-plugin-jsdoc \
eslint-plugin-jsx-a11y \
eslint-plugin-node \
eslint-plugin-n \
eslint-plugin-prefer-arrow \
eslint-plugin-promise \
eslint-plugin-react \
eslint-plugin-react-hooks \
eslint-plugin-react-hooks-ssr \
eslint-plugin-react-perf \
eslint-plugin-rxjs \
eslint-plugin-security \
eslint-plugin-simple-import-sort \
eslint-plugin-sonarjs \
eslint-plugin-testing-library \
Expand Down
Loading

0 comments on commit 2064b35

Please sign in to comment.