Skip to content

Releases: Rel1cx/eslint-react

v0.9.8-beta.1

18 Dec 21:38
02d9432
Compare
Choose a tag to compare

v0.9.8-beta.1 (Tue Dec 19 2023)

🪄 Improvements

  • Minor improvements.

v0.9.8-beta.0

17 Dec 13:39
61b30bd
Compare
Choose a tag to compare

v0.9.8-beta.0 (Sun Dec 17 2023)

✨ New

  • Add rule react/ensure-forward-ref-using-ref

🪄 Improvements

  • Reduce false positives in rule react/no-unstable-nested-components

  • Reduce false positives in rule debug/function-component

v0.9.7

16 Dec 20:02
f1e64e3
Compare
Choose a tag to compare

v0.9.7 (Sun Dec 17 2023)

💥 Breaking Changes

  • Rule named-convention/filename-extension rename rule option to allow

🐞 Fixes

  • Fix where functions in <Component footer={() => <div />} /> or <Component Footer={() => <div />} /> are treated as components
  • Fix false positive in rule react/no-unstable-nested-components
  • Fix false positive in rule debug/function-component

🪄 Improvements

  • Rules now support reading JSX extensions from settings.eslintReact.jsx.extensions

  • Replace ❌ Incorrect and ✅ Correct with Failing and Passing in rule docs

v0.9.7-beta.2

15 Dec 21:07
68f13dc
Compare
Choose a tag to compare

v0.9.7-beta.2 (Sat Dec 16 2023)

🐞 Fixes

  • Update default rule option in named-convention/filename to PascalCase

v0.9.7-beta.1

14 Dec 12:09
176bb02
Compare
Choose a tag to compare

v0.9.7-beta.1 (Thu Dec 14 2023)

🪄 Improvements

  • Minor improvements

v0.9.7-beta.0

14 Dec 06:48
d177c14
Compare
Choose a tag to compare

v0.9.7-beta.0 (Thu Dec 14 2023)

💥 Breaking Changes

  • Rule named-convention/filename-extension rename rule option to allow

✨ New

  • Rule named-convention/filename add extensions option
  • Rule named-convention/filename-extension add extensions option

v0.9.6

12 Dec 13:09
4619314
Compare
Choose a tag to compare

v0.9.6 (Tue Dec 12 2023)

✨ New

  • Add rule react-hooks/prefer-use-state-lazy-initialization

🪄 Improvements

  • Rule named-convention/component-name add both string and object options support
  • Rule named-convention/filename add both string and object options support
  • Rule named-convention/filename-extension add both string and object options support
  • Rule debug/react-hooks reports hookCalls.length instead of cost
  • Update @typescript-eslint's packages to 6.14.0

v0.9.5

10 Dec 16:20
a210b21
Compare
Choose a tag to compare

v0.9.5 (Mon Dec 11 2023)

🪄 Improvements

  • Improve rule jsx/no-leaked-conditional-rendering error marker position and range
  • Improve rule react/no-missing-button-type error marker position and range
  • Improve rule react/no-missing-iframe-sandbox error marker position and range
  • Improve rule react/no-unsafe-iframe-sandbox error marker position and range

v0.9.4

09 Dec 03:52
ecc83b1
Compare
Choose a tag to compare

v0.9.4 (Fri Dec 8 2023)

🪄 Improvements

  • Improve rule docs

v0.9.3

09 Dec 03:52
ad24bf4
Compare
Choose a tag to compare

v0.9.3 (Fri Dec 8 2023)

✨ New

  • Add rule react/no-direct-mutation-state
  • Add rule naming-convention/use-state

🪄 Improvements

  • Update recommended and recommended-legacy presets
  • Improve rules overview page