Skip to content

Releases: Rel1cx/eslint-react

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

v0.9.2

06 Dec 08:54
65da39c
Compare
Choose a tag to compare

v0.9.2 (Wed Dec 6 2023)

✨ New

  • Add rule react/no-component-will-update
  • Add rule react/no-unsafe-component-will-update
  • Add rule react/no-component-will-receive-props
  • Add rule react/no-unsafe-component-will-receive-props
  • Add rule react/no-set-state-in-component-did-mount
  • Add rule react/no-set-state-in-component-did-update
  • Add rule react/no-set-state-in-component-will-update

v0.9.1

05 Dec 02:47
8409d16
Compare
Choose a tag to compare

v0.9.1 (Tue Dec 5 2023)

✨ New

  • Add rule react/no-component-will-mount
  • Add rule react/no-unsafe-component-will-mount

v0.9.0

01 Dec 02:13
ed69988
Compare
Choose a tag to compare

v0.9.0 (Fri Dec 1 2023)

💥 Breaking Changes

  • @eslint-react/eslint-plugin-jsx
    • Remove allowExpressions option from rule jsx/no-useless-fragment
  • @eslint-react/jsx
    • Remove isFragmentWithOnlyTextAndIsNotChild, isFragmentHasLessThanTwoChildren, isFragmentWithSingleExpression from @eslint-react/jsx's API

✨ New

  • Add rule react/no-redundant-should-component-update

🪄 Improvements

  • Update Options of rule jsx/no-useless-fragment
  • Optimize bundle size