Elm Radio

021: elm-review Tips


Listen Later

  • 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

  • elm-verify-examples

  • Safe unsafe operations in Elm blog post

  • elm-spa Elm Radio episode

  • jfmengels/elm-review-debug

  • jfmengels/elm-review-common

  • sparksp/elm-review-ports

  • sparksp/elm-review-imports

  • Getting started with elm-review episode

  • Incremental Steps episode

...more
View all episodesView all episodes
Download on the App Store

Elm RadioBy Dillon Kearns, Jeroen Engels

  • 5
  • 5
  • 5
  • 5
  • 5

5

16 ratings