Skip to content

Provides an elm-review rule to prohibit case..of on boolean expressions

License

Notifications You must be signed in to change notification settings

truqu/elm-review-nobooleancase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    ]

About

Provides an elm-review rule to prohibit case..of on boolean expressions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages