jfmengels/elm-lint/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Lint.Rules.NoDuplicateImports

rule : String -> List Error

Forbid importing the same module several times in a file.

rules =
    [ NoDuplicateImports.rule
    ]

Fail

import Set
import Set exposing (Set)

Success

import Set exposing (Set)