eslint-plugin-remeda 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,3 @@
1
- # 🚧 UNDER CONSTRUCTION 🚧
2
-
3
- This library is still under construction. Don't use this in production yet. If you want to contribute, look at the open issues.
4
-
5
1
  # ESLint Plugin Remeda
6
2
 
7
3
  ESLint plugin for [Remeda](https://github.com/remeda/remeda).
@@ -32,7 +28,7 @@ Enable all of the rules that you would like to use. All rules are off by default
32
28
  - [collection-return](docs/rules/collection-return.md): Always return a value in iteratees of Remeda collection methods that aren't `forEach`.
33
29
  - [prefer-filter](docs/rules/prefer-filter.md): Prefer `R.filter` over `R.forEach` with an `if` statement inside.
34
30
  - [prefer-find](docs/rules/prefer-find.md): Prefer `R.find` over `R.filter` followed by selecting the first result.
35
- - [prefer-flat-map](docs/rules/prefer-flat-map.md): Prefer `R.flatMap` over consecutive `map` and `flatten`.
31
+ - [prefer-flat-map](docs/rules/prefer-flat-map.md): Prefer `R.flatMap` over consecutive `R.map` and `R.flat`.
36
32
  - [prefer-map](docs/rules/prefer-map.md): Prefer `R.map` over `R.forEach` with a `push` inside.
37
33
  - [prefer-nullish-coalescing](docs/rules/prefer-nullish-coalescing.md): Prefer `??` when doing a comparison with a non-nullish value as test.
38
34
  - [prefer-constant](docs/rules/prefer-constant.md): Prefer `R.constant` over functions returning literals.