Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v1.0.0-beta.3
v1.0.0-beta.3 (Fri Jan 26 2024)
🐞 Fixes
- Fix the name prefix for react-dom rules.
v1.0.0-beta.2
v1.0.0-beta.2 (Fri Jan 26 2024)
✨ New
- Make
dom
an alias ofreact-dom
preset. - Make
hooks
an alias ofreact-hooks
preset.
v1.0.0
v1.0.0 (Sat Jan 27 2024)
💥 Breaking Changes
All DOM related rules are moved to react-dom
namespace
- Rename rule
react/no-children-in-void-dom-elements
toreact-dom/no-children-in-void-dom-elements
. - Rename rule
react/no-dangerously-set-innerhtml-with-children
toreact-dom/no-dangerously-set-innerhtml-with-children
. - Rename rule
react/no-dangerously-set-innerhtml
toreact-dom/no-dangerously-set-innerhtml
. - Rename rule
react/no-find-dom-node
toreact-dom/no-find-dom-node
. - Rename rule
react/no-missing-button-type
toreact-dom/no-missing-button-type
. - Rename rule
react/no-missing-iframe-sandbox
toreact-dom/no-missing-iframe-sandbox
. - Rename rule
react/no-namespace
toreact-dom/no-namespace
. - Rename rule
react/no-script-url
toreact-dom/no-script-url
. - Rename rule
react/no-unsafe-iframe-sandbox
toreact-dom/no-unsafe-iframe-sandbox
. - Rename rule
react/no-unsafe-target-blank
toreact-dom/no-unsafe-target-blank
.
✨ New
- Make
dom
an alias ofreact-dom
preset. - Make
hooks
an alias ofreact-hooks
preset. - Add preset
jsx
andjsx-legacy
. - Add preset
react-dom
anddom-legacy
. - Add preset
core
andcore-legacy
. - Add preset
react-hooks
andhooks-legacy
.
🐞 Fixes
- Fix the lint message for rule
react-dom/no-dangerously-set-innerhtml
.
v1.0.0-beta.1
v1.0.0-beta.1 (Fri Jan 26 2024)
✨ New
- Add preset
jsx
andjsx-legacy
. - Add preset
dom
anddom-legacy
. - Add preset
core
andcore-legacy
. - Add preset
hooks
andhooks-legacy
.
v1.0.0-beta.0
v1.0.0-beta.0 (Fri Jan 26 2024)
💥 Breaking Changes
All DOM related rules are moved to react-dom
namespace
- Rename rule
react/no-dangerously-set-innerhtml
toreact-dom/no-dangerously-set-innerhtml
. - Rename rule
react/no-dangerously-set-innerhtml-with-children
toreact-dom/no-dangerously-set-innerhtml-with-children
. - Rename rule
react/no-find-dom-node
toreact-dom/no-find-dom-node
. - Rename rule
react/no-missing-button-type
toreact-dom/no-missing-button-type
. - Rename rule
react/no-missing-iframe-sandbox
toreact-dom/no-missing-iframe-sandbox
. - Rename rule
react/no-script-url
toreact-dom/no-script-url
. - Rename rule
react/no-unsafe-iframe-sandbox
toreact-dom/no-unsafe-iframe-sandbox
. - Rename rule
react/no-unsafe-target-blank
toreact-dom/no-unsafe-target-blank
.
v0.10.12
v0.10.12-beta.0
v0.10.12-beta.0 (Sun Jan 21 2024)
🪄 Improvements
- Remove unnecessary
parserOptions
fields from presets.
v0.10.11
v0.10.11-beta.2
v0.10.11-beta.2 (Fri Jan 19 2024)
✨ New
- Add rule
react/no-access-state-in-setstate
.
v0.10.11-beta.1
v0.10.11-beta.1 (Tue Jan 16 2024)
🪄 Improvements
- Update
@typescript-eslint
's packages to6.19.0
.