Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minibill/elm-review-codegen-simplify
elm-review rule to simplify elm-codegen code
https://github.com/minibill/elm-review-codegen-simplify
elm-review
Last synced: about 7 hours ago
JSON representation
elm-review rule to simplify elm-codegen code
- Host: GitHub
- URL: https://github.com/minibill/elm-review-codegen-simplify
- Owner: miniBill
- License: bsd-3-clause
- Created: 2024-03-11T23:13:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-25T13:27:02.000Z (5 months ago)
- Last Synced: 2024-06-25T14:55:22.090Z (5 months ago)
- Topics: elm-review
- Language: Elm
- Homepage: https://package.elm-lang.org/packages/miniBill/elm-review-codegen-simplify/latest/
- Size: 267 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-review-codegen-simplify
Provides [`elm-review`](https://package.elm-lang.org/packages/jfmengels/elm-review/latest/) rules to simplify elm-codegen code.
## Provided rules
- [`Codegen.Simplify`](https://package.elm-lang.org/packages/miniBill/elm-review-codegen-simplify/1.0.0/Codegen-Simplify) - Reports redundant uses of `Elm.value`, `Elm.apply`, `values_` and `call_`.
## Configuration
```elm
module ReviewConfig exposing (config)import Codegen.Simplify
import Review.Rule exposing (Rule)config : List Rule
config =
[ Codegen.Simplify.rule
]
```## Try it out
You can try the example configuration above out by running the following command:
```bash
elm-review --template miniBill/elm-review-codegen-simplify/example
```