jfmengels/elm-review-test-values

Provides elm-review rules to find misuses of test-only values


Keywords
elm-review
License
BSD-3-Clause
Install
elm-package install jfmengels/elm-review-test-values 1.0.0

Documentation

elm-review-test-values

Provides elm-review rules to find misuses of test-only values.

Provided rules

Configuration

module ReviewConfig exposing (config)

import NoTestValuesInProductionCode
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoTestValuesInProductionCode.rule
        (NoTestValuesInProductionCode.startsWith "test_")
    ]

Try it out

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

elm-review --template jfmengels/elm-review-test-values/example