NeoVier/elm-review-no-function-outside-of-modules/1.0.1

NOTE: the latest version is 2.0.0

Renamed to henriquecbuss/elm-review-no-function-outside-of-modules. It is published under that name, and new versions come out there.

Versions published as NeoVier/elm-review-no-function-outside-of-modules still install under that name. 3 versions of 3 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/henriquecbuss/elm-review-no-function-outside-of-modules.

What we checked: The repo moved to github.com/henriquecbuss/elm-review-no-function-outside-of-modules. Rebuilt with git archive from commit 8573e5db2209 of https://github.com/henriquecbuss/elm-review-no-function-outside-of-modules (zip prefix NeoVier-elm-review-no-function-outside-of-modules-8573e5d/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 5e0613009284b6f6127bf06eaffe3a28b5922c3e.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/NeoVier/elm-review-no-function-outside-of-modules/zipball/1.0.1/

elm-review-no-function-outside-of-modules

Provides elm-review rules to forbid using functions outside of certain modules.

Provided rules

Configuration

module ReviewConfig exposing (config)

import NoFunctionOutsideOfModules
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoFunctionOutsideOfModules.rule [( "Html.input", [ "View.Input" ] )]
    ]

Try it out

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

elm-review --template NeoVier/elm-review-no-function-outside-of-modules/example-with-no-html-input-outside-of-view