Closed jfmengels closed 1 year ago
I added pipeline support to this branch in the way that was mentioned above.
You can try out the change using:
elm-review --template jfmengels/elm-review-simplify/preview#direct-lambda-calls
Let me know what you think!
Awesome!
It found 8 errors at work, and all of them became better when rewritten, either by switching to let-in or by extracting a function.
Awesome, then it's time to merge :blush:
Fixes #111
This reports but does not autofix anonymous functions that get directly invoked.
I'd love feedback on this. The message and details are more important than for other errors because there is no autofix. Let me know if you have any feedback (on this aspect or another) cc @lydell. PR can be reviewed commit by commit.