Skip to content

jfmengels/elm-review-license

elm-review-license

Provides an elm-review rule to make sure you don't use packages with unapproved licenses.

Provided rules

Configuration

module ReviewConfig exposing (config)

import NoUnapprovedLicense
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoUnapprovedLicense.rule
        { allowed = [ "BSD-3-Clause", "MIT" ]
        , forbidden = [ "GPL-3.0-only", "GPL-3.0-or-later" ]
        }
    ]

Try it out

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

elm-review --template jfmengels/elm-review-license/example

About

Provides an elm-review rule to prevent using packages with unapproved licenses

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages