Provides an elm-review
rule that forbids the use of unqualified functions
from other modules, forcing qualified functions.
The rule provides a fix that will add qualifiers to each unqualified function.
Note that this fix will leave the exposing ()
section of import statements
unchanged; the fixes in jfmengels/review-unused can remove them.
module ReviewConfig exposing (config)
import NoUnqualifiedFunctions
import Review.Rule exposing (Rule)
config : List Rule
config =
[ NoUnqualifiedFunctions.rule
]
elm-review --template webbhuset/elm-review-no-unqualified-functions/example