Skip to content

Yagger/elm-review-no-url-string-concatenation

Repository files navigation

elm-review-no-url-string-concatenation

Provides elm-review rule to ensure URLs are not build using string concatenation, and suggests using Url.Builder package instead.

Provided rules

Configuration

module ReviewConfig exposing (config)

import NoUrlStringConcatenation
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoUrlStringConcatenation.rule
    ]

Try it out

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

elm-review --template Yagger/elm-review-no-url-string-concatenation/example

About

elm-review rule to ensure URLs are not build with string concatenation

Resources

License

Stars

Watchers

Forks

Packages

No packages published