jfmengels/elm-lint/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Lint.Rules.NoUnannotatedFunction

rule : String -> List Error

Ensure every top-level function declaration has a type annotation.

rules =
    [ NoUnannotatedFunction.rule
    ]

Fail

a n =
    n + 1

Success

a : Int -> Int
a n =
    n + 1