Skip to content

Releases: Rel1cx/eslint-react

v1.5.4

16 Feb 08:31
778cf27
Compare
Choose a tag to compare

v1.5.4 (Fri Feb 16 2024)

🐞 Fixes

  • Fix rule react-dom/no-render-return-value not renamed in v1.0.0

🪄 Improvements

  • Improve code samples in rule docs
  • Update effect to 2.3.5
  • Update @typescript-eslint's packages to 7.0.1

v1.5.3

09 Feb 16:18
a24db3d
Compare
Choose a tag to compare

v1.5.3 (Sat Feb 10 2024)

🪄 Improvements

  • Improve diagnostic messages
  • Remove needless deps from peerDependencies
  • Update @typescript-eslint's packages to 6.21.0

v1.5.2

31 Jan 06:03
213bb00
Compare
Choose a tag to compare

v1.5.2 (Wed Jan 31 2024)

🪄 Improvements

  • Remove needless deps from peerDependencies
  • Update @typescript-eslint's packages to 6.20.0
  • Update effect to 2.2.3

v1.5.1

29 Jan 05:51
cf9126e
Compare
Choose a tag to compare

v1.5.1 (Mon Jan 29 2024)

✨ New

  • Add off-dom and off-dom-legacy presets to disable all DOM related rules.

🪄 Improvements

  • Reduce dependencies size

v1.5.0

29 Jan 01:11
7dfac74
Compare
Choose a tag to compare

v1.5.0 (Mon Jan 29 2024)

💥 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

v1.0.2

27 Jan 03:40
db4b84e
Compare
Choose a tag to compare

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 and hooks presets from documentation

v1.0.1

27 Jan 03:43
04520e3
Compare
Choose a tag to compare

v1.0.1 (Sat Jan 27 2024)

🪄 Improvements

  • Improve jsx and jsx-legacy presets
  • Improve core and core-legacy presets
  • Improve recommended and recommended-legacy presets
  • Improve recommended-type-checked and recommended-type-checked-legacy presets

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