🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

eslint-plugin-react-dom

Package Overview
Dependencies
Maintainers
1
Versions
1290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-dom - npm Package Versions

1
125126127128

1.5.1-next.1

Diff
rel1cx
published 1.5.1-next.1 •
rel1cx
published 1.5.0 •

Changelog

Source

v1.5.0 (2024-01-29)

💥 Breaking Changes

  • Remove rule max-depth
  • Rename rule no-spreading-key to no-implicit-key
  • Rename rule no-constructed-context-value to no-unstable-context-value
  • Rename rule no-unstable-nested-components to no-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/ with dom/ in rule names
    • Replace react-hooks/ with hooks-extra/ in rule names
  • Switch to new settings schema
    • Put settings under reactOptions instead of eslintReact
    • Replace jsx.pragma with jsxPragma
    • Replace jsx.fragment with jsxPragmaFrag
    • Replace react.version with version
    • Remove jsx.extensions
rel1cx
published 1.5.0-beta.2 •
rel1cx
published 1.5.0-beta.1 •
rel1cx
published 1.5.0-beta.0 •
rel1cx
published 1.5.0-next.3 •
rel1cx
published 1.5.0-next.2 •
rel1cx
published 1.5.0-next.1 •
rel1cx
published 1.5.0-next.0 •
rel1cx
published 1.0.0 •

Changelog

Source

v1.0.0 (2024-01-27)

💥 Breaking Changes

All DOM related rules are moved to react-dom namespace

  • Rename rule react/no-void-elements-with-children to react-dom/no-void-elements-with-children
  • Rename rule react/no-dangerously-set-innerhtml-with-children to react-dom/no-dangerously-set-innerhtml-with-children
  • Rename rule react/no-dangerously-set-innerhtml to react-dom/no-dangerously-set-innerhtml
  • Rename rule react/no-find-dom-node to react-dom/no-find-dom-node
  • Rename rule react/no-missing-button-type to react-dom/no-missing-button-type
  • Rename rule react/no-missing-iframe-sandbox to react-dom/no-missing-iframe-sandbox
  • Rename rule react/no-namespace to react-dom/no-namespace
  • Rename rule react/no-render-return-value to react-dom/no-render-return-value
  • Rename rule react/no-script-url to react-dom/no-script-url
  • Rename rule react/no-unsafe-iframe-sandbox to react-dom/no-unsafe-iframe-sandbox
  • Rename rule react/no-unsafe-target-blank to react-dom/no-unsafe-target-blank

✨ New

  • Make dom an alias of react-dom preset
  • Make hooks an alias of react-hooks preset
  • Add preset jsx and jsx-legacy
  • Add preset react-dom and dom-legacy
  • Add preset core and core-legacy
  • Add preset react-hooks and hooks-legacy

🐞 Fixes

  • Fix the lint message for rule react-dom/no-dangerously-set-innerhtml