truqu/elm-review-nobooleancase - version: 1.0.1

for more information visit the package's GitHub page

Package contains the following modules:

elm-review-nobooleancase

Prohibits using case <boolean expression> of, with a preference for using if <expr> then <expr> else <expr> for such cases.

Configuration

module ReviewConfig exposing (config)

import NoBooleanCase
import Review.Rule exposing (Rule)

config : List Rule
config =
    [ NoBooleanCase.rule
    ]