A rule for elm-review that discourages keeping very long one-line import
statements.
Some Elm tools will change multi-line import statements back to a single line
when modifying the exposing ()
section.
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 ]
- Save users from users having to manually break up the line, by adding a
fix