Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/truqu/elm-review-nobooleancase
- Owner: truqu
- License: bsd-3-clause
- Created: 2020-05-15T15:21:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-12T09:58:28.000Z (over 2 years ago)
- Last Synced: 2024-05-08T23:40:55.288Z (8 months ago)
- Topics: elm, elm-review, lint
- Language: Elm
- Size: 29.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
]
```