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