Skip to content

Commit 5befa3a

Browse files
authored
Add and apply elm-review (#972)
* Add elm-review * Add initial elm-review config * Apply simplifications suggested by elm-review * Add missing exposed types * Remove unused argument * Add missing type annotation * Add instructions for elm-review * Disable NoMissingTypeAnnotationsInLetIn for now
1 parent 1536f79 commit 5befa3a

File tree

11 files changed

+1035
-265
lines changed

11 files changed

+1035
-265
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ application.
5656

5757
This allows testing the frontend against the 'production' package index.
5858

59+
### elm-review
60+
61+
This project uses `elm-review` to enforce standard rules over Elm code. To use it you can run:
62+
63+
```
64+
env --chdir=frontend nix develop -c yarn elm-review
65+
```
66+
67+
to check the code. You can add `--fix` for automatic fixes, and `--watch` to run it in watch mode during development.
68+
5969
### End-to-end testing
6070

6171
If you want to do a full round-trip test of importing information with

0 commit comments

Comments
 (0)