/elm-review-no-regex

elm-review rule to forbid regex usage

Primary LanguageElmBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

review-no-regex

Provides elm-review rule to favor Parser package instead of Regex package.

Regex package provides good reasoning on why it's better to use Parser package.

Usage

After adding elm-review to your project, import this rule to ReviewConfig.elm file and add it to the config.

Example configuration

import NoRegex
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoRegex.rule ]