Skip to content

webbhuset/elm-review-no-unqualified-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-review-no-imported-functions

Provides an elm-review rule that forbids the use of unqualified functions from other modules, forcing qualified functions.

Provided rule

Automatic Fixes

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.

Configuration

module ReviewConfig exposing (config)

import NoUnqualifiedFunctions
import Review.Rule exposing (Rule)


config : List Rule
config =
    [ NoUnqualifiedFunctions.rule
    ]

Try it out

elm-review --template webbhuset/elm-review-no-unqualified-functions/example

About

Provides an elm-review rule that forbids the use of unqualified functions from other modules.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages