jfmengels/elm-review-license/1.0.1

NOTE: the latest version is 1.0.4

NoUnapprovedLicense

{ allowed : List String
, forbidden : List String
}
-> Rule

Forbid the use of dependencies that use unknown or forbidden licenses.

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