Releases: Rel1cx/eslint-react
Releases · Rel1cx/eslint-react
v1.16.0
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
What's Changed
🪄 Improvements
- Update
@typescript-eslint
's packages to^8.12.1
.
Full Changelog: 1.15.1...v1.15.2
v1.15.1
What's Changed
✨ New
- feat: added code fixer to
react-x/avoid-shorthand-boolean
andreact-x/prefer-shorthand-fragment
by @Rel1cx
🐞 Fixes
- fix(plugins/react-x): respect semicolon by @hyoban in #841
- fix(utilities/ast): added missing ts
as
andsatisfies
expressions handling togetFunctionIdentifier
by @Rel1cx , closes #843
Full Changelog: v1.15.0...1.15.1
v1.15.0
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
inno-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
- @imjordanxd made their first contribution in #829
- @neovov made their first contribution in #831
Full Changelog: v1.14.3...v1.15.0
v1.14.3
What's Changed
🪄 Improvements
- Update
@typescript-eslint
's packages to^8.7.0
.
New Contributors
- @PinkChampagne17 made their first contribution in #827
Full Changelog: v1.14.2...v1.14.3
v1.14.2
v1.14.1
v1.14.0
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
- @karlhorky made their first contribution in #799
Full Changelog: v1.13.1...v1.14.0
v1.13.1
What's Changed
🐞 Fixes
- Fixed
hooks-extra/no-unnecessary-use-callback
andhooks-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
What's Changed
✨ New
- Added
web-api/no-leaked-resize-observer
rule to prevent leakedResizeObserver
.
🐞 Fixes
hooks-extra/no-redundant-custom-hook
should allow custom hooks with empty body.
🪄 Improvements
- Rename
debug/react-hooks
todebug/hook
. - Rename
hooks-extra/ensure-custom-using-hooks
tohooks-extra/no-redundant-custom-hook
. - Rename
hooks-extra/ensure-use-memo-has-non-empty-deps
tohooks-extra/no-unnecessary-use-memo
. - Rename
hooks-extra/ensure-use-callback-has-non-empty-deps
tohooks-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