v1.15.0
What's Changed
✨ New
- feat: add support for constructors in
hooks-extra/prefer-use-state-lazy-initializationby @imjordanxd in #829 - feat: add
prefer-react-namespace-import, closes #803 by @imjordanxd in #832 - feat: add support for
allowExpressionsinno-useless-fragmentby @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.mdxby @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-effectand 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