truqu/elm-review-noredundantconcat - version: 1.0.1

for more information visit the package's GitHub page

Package contains the following modules:

elm-review-noredundantconcat

Helps with preventing redundant usage of concatenation. Expressions like [ a ] ++ b can be rewritten as a :: b, and expressions like [ a ] ++ [ b ] could be simply [ a, b ].

Configuration

module ReviewConfig exposing (config)

import NoRedundantConcat
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoRedundantConcat.rule
    ]

Currently covered

Future work

These all follow a common pattern of making the concatenation of literals more complex than it has to be.