Tune in to the tools and techniques in the Elm ecosystem.
021: elm-review Tips
January 04, 2021
0:50:41
48.69 MB
Downloads: 0
- The
npx
command runs NPM binaries from your shell
Some tricks to easily try elm-review
with no setup:
npx elm-review --template jfmengels/elm-review-unused/example
Init with a given template:
npx elm-review init --template jfmengels/elm-review-unused/example
Incremental adoption
- Don't enable lots with errors, better to have few with no errors
- Enable in CI
ignoreErrorsForFiles
ignoreErrorsForDirectories
- Try the
--fix
,--fix-all
, and--watch
flags (see how to run elm-review)
Useful packages and workflow
Review rule for Documentation.ReadmeLinksPointToCurrentVersion
Safe unsafe operations in Elm blog post
Getting started with elm-review episode
Incremental Steps episode