miniBill/elm-review-validate-regexes/1.0.0

elm-review-validate-regexes

Provides elm-review rules to statically validate regexes.

Provided rules

  • Validate.Regexes - Reports when a call to Regex.fromString is going to fail because the input is wrong.

Configuration

module ReviewConfig exposing (config)

import Validate.Regexes
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ Validate.Regexes.rule
    ]

Try it out

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

elm-review --template miniBill/elm-review-validate-regexes/example