Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.5.0 (Mon Jan 29 2024)
💥 Breaking Changes
- Remove rule
max-depth
- Rename rule
no-spreading-key
tono-implicit-key
- Rename rule
no-constructed-context-value
tono-unstable-context-value
- Rename rule
no-unstable-nested-components
tono-nested-components
- Switch to new name prefix of rules in
@eslint-react/eslint-plugin
- Replace
jsx/
with `` in rule names - Replace
react/
with `` in rule names - Replace
react-dom/
withdom/
in rule names - Replace
react-hooks/
withhooks-extra/
in rule names
- Replace
- Switch to new settings schema
- Put settings under
reactOptions
instead ofeslintReact
- Replace
jsx.pragma
withjsxPragma
- Replace
jsx.fragment
withjsxPragmaFrag
- Replace
react.version
withversion
- Remove
jsx.extensions
- Put settings under
v1.0.2
v1.0.2 (Sat Jan 27 2024)
🐞 Fixes
- Fix rule
react-dom/no-namespace
not renamed in v1.0.0 - Fix rule
react-dom/no-children-in-void-dom-elements
not renamed in v1.0.0
🪄 Improvements
- Improve rules overview page on website
- Remove
jsx
andhooks
presets from documentation
v1.0.1
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