Skip to content

Releases: arthurgeron/eslint-plugin-react-usememo

v2.4.4

22 Oct 22:55
e47bb4d
Compare
Choose a tag to compare

What's Changed

  • fix: append async keyword when replace async func with useCallback by @fossamagna in #48

Full Changelog: v2.4.3...v2.4.4

v2.4.3

07 Oct 17:46
Compare
Choose a tag to compare

What's Changed

  • feat: add ignoredPropNames option to require-usememo rule by @fossamagna in #47

New Contributors

Full Changelog: v2.4.2...v2.4.3

v2.4.2

06 Oct 03:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

14 Aug 01:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.0...v2.4.1

v2.4.0

25 Apr 20:23
Compare
Choose a tag to compare

What's Changed

Release/2.4.0 by @arthurgeron in #44

  • Fixes #43 ;

  • Optimized isComplexComponent expression by replacing regular expression with a simple character comparison.

  • When the usememo rule rejects a JSX Attribute content in an invalid context (e.g. wrapping expressions) it won't try fixing it, instead, it'll report the issue with a new error message.

Full Changelog: v2.3.1...v2.4.0

v2.3.1

09 Feb 15:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

20 Jan 16:37
Compare
Choose a tag to compare

What's Changed

  • Fix #33 by @arthurgeron in #36
  • Require-memo:
    • Now supports ignoring components by name through the ignoredComponentsoption, supports minimatch/glob syntax
    • Now also works for components declared separately from export statements
    • Only checks exported components
  • Fixed issue where rules with a ignore option that uses minimatch'd not work properly if their value is set to false (affects require-usememo rule).

Full Changelog: v2.2.3...v2.3.0

v2.2.3

06 Jan 00:03
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.2...v2.2.3

v2.2.2

29 Dec 20:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.2.2

v2.2.1

04 Dec 02:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1