Skip to content

Releases: freaktechnik/eslint-plugin-array-func

v5.0.1

04 Feb 12:18
v5.0.1
8847c39
Compare
Choose a tag to compare
  • Added meta section, so eslint features like --cache can identify the plugin in flat configs.

Full Changelog: v5.0.0...v5.0.1

v5.0.0

04 Feb 12:09
v5.0.0
ed93365
Compare
Choose a tag to compare

What's Changed

  • The exported configs are now eslint flat configs. They no longer set the ECMA version. The README has been updated to show how to use them in flat configs.
  • Now requires eslint 8.51.0 or later
  • The package is now es modules only, so make sure your node version is good with that. This also means you have to consume this plugin through a flat config. If you still need to use the old config system, don't update to v5 and beyond.

Known issue: the plugin is missing self-describing info for flat config, will publish a version with that shortly.

Full Changelog: v4.0.0...v5.0.0

v4.0.0

12 Sep 19:40
v4.0.0
9974630
Compare
Choose a tag to compare

What's Changed

  • Breaking: require eslint 8.40.0 b087585
  • docs: Fix "array-from" to "from-map" by @regseb in #352
  • Fix Error when mapCallback is not an identifier or a function expression by @ianobermiller in #418

New Contributors

Full Changelog: v3.1.8...v4.0.0

v3.1.8

06 Jan 15:35
v3.1.8
36e7a2b
Compare
Choose a tag to compare
  • Fix crash when passing callbacks as variables in from-map. Fixes #344
  • Fixed some false positives with from-map potentially leading to map callbacks missing the third parameter
  • Improved error message formatting
  • Fix .flatmap() description for 'prefer-flat-map' #221

v3.1.7

17 Jul 16:25
v3.1.7
3602302
Compare
Choose a tag to compare
  • docs: plugins not plugin 4f261c1
  • docs: add config examples for all rules aef1987
  • docs: make it clearer how the reverse rules works from the doc examples (fixes #68) 74cea8f
  • docs: don't claim that Array.from is faster (fixes #69) 2957434
  • fix: update ranging for fixes to be eslint 7 compatible 0565317

v3.1.6...v3.1.7

v3.1.6

19 May 18:28
v3.1.6
9c60262
Compare
Choose a tag to compare
  • fix false positive of prefer-flat-map when flattening with depth != 1 (fixes #61) 98ab902

v3.1.5...v3.1.6

v3.1.5

07 Apr 19:12
v3.1.5
0dfca75
Compare
Choose a tag to compare
  • fix: from-map rule is not working on TS files (#50) 8d9eb3d

v3.1.4...v3.1.5

v3.1.4

26 Feb 22:01
v3.1.4
4ab9561
Compare
Choose a tag to compare

v3.1.3...v3.1.4

v3.1.3

26 Feb 21:54
v3.1.3
6fa86f2
Compare
Choose a tag to compare
  • never try to replace indexOf/lastIndexOf with each other.

v3.1.2

14 Jan 16:02
v3.1.2
e734aa6
Compare
Choose a tag to compare
  • Fix prefer-flat-map rule to prefer flatMap for the correct chain of operations
  • Make the auto fix for avoid-reverse indexOf and lastIndexOf to hold the same value