Skip to content

Releases: Rel1cx/eslint-react

v1.16.0

31 Oct 16:36
b99c353
Compare
Choose a tag to compare

What's Changed

✨ New

  • feat(plugins/react-x): add jsx-uses-vars, closes #834 by @Rel1cx in #845
  • feat(plugins/react-dom): add no-unknown-property, closes #846 by @Rel1cx in #847
  • feat: add recommended-typescript preset by @Rel1cx in #848

🪄 Improvements

  • Update @typescript-eslint's packages to ^8.12.2.

Full Changelog: v1.15.2...v1.16.0

v1.15.2

29 Oct 00:56
01cc707
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • Update @typescript-eslint's packages to ^8.12.1.

Full Changelog: 1.15.1...v1.15.2

v1.15.1

27 Oct 17:01
a5d6972
Compare
Choose a tag to compare

What's Changed

✨ New

  • feat: added code fixer to react-x/avoid-shorthand-boolean and react-x/prefer-shorthand-fragment by @Rel1cx

🐞 Fixes

  • fix(plugins/react-x): respect semicolon by @hyoban in #841
  • fix(utilities/ast): added missing ts as and satisfies expressions handling to getFunctionIdentifier by @Rel1cx , closes #843

Full Changelog: v1.15.0...1.15.1

v1.15.0

11 Oct 23:28
662343b
Compare
Choose a tag to compare

What's Changed

✨ New

  • feat: add support for constructors in hooks-extra/prefer-use-state-lazy-initialization by @imjordanxd in #829
  • feat: add prefer-react-namespace-import, closes #803 by @imjordanxd in #832
  • feat: add support for allowExpressions in no-useless-fragment by @imjordanxd in #836

🐞 Fixes

  • fix: Fix false positives when 'web-api/no-leaked-event-listener' passes a signal to an intermediate variable, closes #838

🪄 Improvements

  • docs: Update hooks-extra-no-direct-set-state-in-use-effect.mdx by @neovov in #831
  • docs: use a standard mono-width font for the docs, closes #835 by @Rel1cx in #837
  • Undeprecate hooks-extra-no-direct-set-state-in-use-layout-effect and remove it from recommended presets, closes #839 by @Rel1cx in #840

New Contributors

Full Changelog: v1.14.3...v1.15.0

v1.14.3

29 Sep 15:05
ff389b1
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • Update @typescript-eslint's packages to ^8.7.0.

New Contributors

Full Changelog: v1.14.2...v1.14.3

v1.14.2

20 Sep 05:03
24d41a5
Compare
Choose a tag to compare

What's Changed

🪄 Improvements

  • Fix minor errors in README.md by @SayaOvO in #816.
  • Update @typescript-eslint's packages to ^8.6.0.

New Contributors

Full Changelog: v1.14.1...v1.14.2

v1.14.1

11 Sep 21:52
e6236a8
Compare
Choose a tag to compare

v1.14.1 (Thu 12 Sep 2024)

What's Changed

🐞 Fixes

  • Fixed false positives in rule web-api/no-leaked-resize-observer.

New Contributors

Full Changelog: v1.14.0...v1.14.1

v1.14.0

09 Sep 17:54
ddaab6a
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • Fixed mono plugins missing default export.
  • Fixed component name detection when the component name starts with a underscore.

🪄 Improvements

  • Update @typescript-eslint's packages to ^8.5.0.

New Contributors

Full Changelog: v1.13.1...v1.14.0

v1.13.1

08 Sep 18:31
e65898e
Compare
Choose a tag to compare

What's Changed

🐞 Fixes

  • Fixed hooks-extra/no-unnecessary-use-callback and hooks-extra/no-unnecessary-use-memo false positives when there are references from nested scopes.

New Contributors

Full Changelog: v1.13.0...v1.13.1

v1.13.0

04 Sep 06:02
b993139
Compare
Choose a tag to compare

What's Changed

✨ New

  • Added web-api/no-leaked-resize-observer rule to prevent leaked ResizeObserver.

🐞 Fixes

  • hooks-extra/no-redundant-custom-hook should allow custom hooks with empty body.

🪄 Improvements

  • Rename debug/react-hooks to debug/hook.
  • Rename hooks-extra/ensure-custom-using-hooks to hooks-extra/no-redundant-custom-hook.
  • Rename hooks-extra/ensure-use-memo-has-non-empty-deps to hooks-extra/no-unnecessary-use-memo.
  • Rename hooks-extra/ensure-use-callback-has-non-empty-deps to hooks-extra/no-unnecessary-use-callback.
  • Upgrade @typescript-eslint's packages to ^8.4.0.

(The rules that were renamed in this release will still be available until the next major update to avoid breaking changes.)

Full Changelog: v1.12.4...v1.13.0