Provides elm-review rules to statically validate regexes.
Validate.Regexes - Reports when a call to Regex.fromString is going to fail because the input is wrong.module ReviewConfig exposing (config)
import Validate.Regexes
import Review.Rule exposing (Rule)
config : List Rule
config =
[ Validate.Regexes.rule
]You can try the example configuration above out by running the following command:
elm-review --template miniBill/elm-review-validate-regexes/example