r-k-b/no-long-import-lines/1.0.1

NOTE: the latest version is 1.0.4

NoLongImportLines

Some Elm tooling will always change import lines from multi-line to single-line when updating an import statement, even when the single line would be extremely long and prone to merge conflicts.

This rule enforces that no single-line import statements longer then 120 characters should exist.

Usage

After adding elm-review to your project, import this rule from your ReviewConfig.elm file and add it to the config. E.g.:

import NoLongImportLines
import Review.Rule exposing (Rule)


config : List Rule
config =
    [ NoLongImportLines.rule ]
rule : Rule

A rule for elm-review that discourages the use of very long import statements, which are prone to merge conflicts.