Skip to content

jfmengels/elm-review-test-values

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

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published