Skip to content

perkee/elm-review-prefer-html-extra

Repository files navigation

elm-review-prefer-html-extra

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.

Provided rules

Configuration

module ReviewConfig exposing (config)

import UseHtmlExtraNothing
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ UseHtmlExtraNothing.rule
    ]

Try it out

You can try the example configuration above out by running the following command:

elm-review --template perkee/elm-review-prefer-html-extra/example

About

prefer helper functions from Html.Extra over repetitive little things

Resources

License

Stars

Watchers

Forks

Packages

No packages published