EPISODE · Apr 26, 2021 · 1H 14M
029: Writing an elm-review Rule
from Elm Radio · host Dillon Kearns
dillonkearns/elm-review-html-to-elm (elm-review version of html-to-elm.com)Rule naming guidelines docsElm review cli new rule commandstil4m/elm-syntaxElm.Syntax.Rangeelm-review ignoreErrorsForFilesReview contextwithFinalModuleEvaluationelm-review's context is like Model, elm-syntax Node is like a Msg, Review Errors are Cmds, visitors are like updateelm-review's new configuration errors APIImport aliases feature: ModuleNameLookupTableParse, don't validate episodeelm-review Fixes APIJeroen's Safe Unsafe Operations blog postGetting startedSome repos to look at for inspirationgithub.com/jfmengels/elm-review-unusedgithub.com/jfmengels/elm-review-common github.com/jfmengels/elm-review-debug github.com/jfmengels/elm-review-simplify The elm-review package docs are very through and worth reading
What this episode covers
We walk through how to write an elm-review rule from scratch. Also, how to test your rules, and how to write an automated fix.
NOW PLAYING
029: Writing an elm-review Rule
No transcript for this episode yet