Skip to content

Releases: Rel1cx/eslint-react

v1.0.0-beta.3

26 Jan 13:11
fb526b7
Compare
Choose a tag to compare

v1.0.0-beta.3 (Fri Jan 26 2024)

🐞 Fixes

  • Fix the name prefix for react-dom rules.

v1.0.0-beta.2

26 Jan 12:03
935254e
Compare
Choose a tag to compare

v1.0.0-beta.2 (Fri Jan 26 2024)

✨ New

  • Make dom an alias of react-dom preset.
  • Make hooks an alias of react-hooks preset.

v1.0.0

26 Jan 16:34
998d6a7
Compare
Choose a tag to compare

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 to react-dom/no-children-in-void-dom-elements.
  • 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-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.

v1.0.0-beta.1

25 Jan 23:46
859a7a9
Compare
Choose a tag to compare

v1.0.0-beta.1 (Fri Jan 26 2024)

✨ New

  • Add preset jsx and jsx-legacy.
  • Add preset dom and dom-legacy.
  • Add preset core and core-legacy.
  • Add preset hooks and hooks-legacy.

v1.0.0-beta.0

25 Jan 23:45
177c5b8
Compare
Choose a tag to compare

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 to react-dom/no-dangerously-set-innerhtml.
  • Rename rule react/no-dangerously-set-innerhtml-with-children to react-dom/no-dangerously-set-innerhtml-with-children.
  • 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-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.

v0.10.12

21 Jan 08:25
d132691
Compare
Choose a tag to compare

v0.10.12 (Sun Jan 21 2024)

🪄 Improvements

  • Remove unnecessary parserOptions fields from presets.

v0.10.12-beta.0

20 Jan 19:00
bc70901
Compare
Choose a tag to compare

v0.10.12-beta.0 (Sun Jan 21 2024)

🪄 Improvements

  • Remove unnecessary parserOptions fields from presets.

v0.10.11

20 Jan 04:36
0c24791
Compare
Choose a tag to compare

v0.10.11 (Sat Jan 20 2024)

✨ New

  • Add rule react/no-access-state-in-setstate.

🪄 Improvements

  • Improve rule react/no-unused-state to respect the usage of getDerivedStateFromProps.
  • Update @typescript-eslint's packages to 6.19.0.

v0.10.11-beta.2

19 Jan 13:14
c475a3c
Compare
Choose a tag to compare

v0.10.11-beta.2 (Fri Jan 19 2024)

✨ New

  • Add rule react/no-access-state-in-setstate.

v0.10.11-beta.1

16 Jan 02:12
83193cd
Compare
Choose a tag to compare

v0.10.11-beta.1 (Tue Jan 16 2024)

🪄 Improvements

  • Update @typescript-eslint's packages to 6.19.0.