github Rel1cx/eslint-react v1.15.0

latest releases: v1.53.1, v1.53.0, v1.52.9...
11 months ago

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

Don't miss a new eslint-react release

NewReleases is sending notifications on new releases.