Releases: freaktechnik/eslint-plugin-array-func
Releases · freaktechnik/eslint-plugin-array-func
v3.1.2
- Fix
prefer-flat-map
rule to preferflatMap
for the correct chain of operations - Make the auto fix for
avoid-reverse
indexOf
andlastIndexOf
to hold the same value
v3.1.1
- Actually export the flattening rules
v3.1.0
- Add
prefer-flat
rule - Add
prefer-flat-map
rule - Add
all
configuration
v3.0.0
- Add
avoid-reverse
rule, suggesting to use inverse operations instead of callingreverse()
https://air.ghost.io/js-things-i-never-knew-existed/ reminded me that this may not be obvious and is in the same vein as avoiding amap()
call afterArray.from()
.
v2.0.1
- Fix a typo in the
prefer-array-from
description. Thanks @aliceklipper