Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/truqu/elm-review-nobooleancase

Provides an elm-review rule to prohibit case..of on boolean expressions
https://github.com/truqu/elm-review-nobooleancase

elm elm-review lint

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# elm-review-nobooleancase

Prohibits using `case of`, with a preference for using
`if then else ` for such cases.

## Configuration

```elm
module ReviewConfig exposing (config)

import NoBooleanCase
import Review.Rule exposing (Rule)

config : List Rule
config =
[ NoBooleanCase.rule
]
```