Provides elm-review rules to replace Html.text "" with
Html.Extra.nothing. Make sure you have installed elm-community/html-extra for this to work.
UseHtmlExtraNothing- ReplacesHtml.text ""withHtml.Extra.nothing.
module ReviewConfig exposing (config)
import UseHtmlExtraNothing
import Review.Rule exposing (Rule)
config : List Rule
config =
[ UseHtmlExtraNothing.rule
]You can try the example configuration above out by running the following command:
elm-review --template perkee/elm-review-prefer-html-extra/example