Skip to content

Commit

Permalink
update to fourmolu-0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
byorgey committed Jul 12, 2023
1 parent 8f1cbe6 commit 4bfb765
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .restyled.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
restylers_version: stable
restylers:
- fourmolu:
image: 'restyled/restyler-fourmolu:v0.10.1.0'
image: 'restyled/restyler-fourmolu:v0.13.0.0'
arguments:
[]
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,15 @@ them!

#### Formatting style

We use [`fourmolu-0.10.1.0`](https://hackage.haskell.org/package/fourmolu)
We use [`fourmolu-0.13.0.0`](https://hackage.haskell.org/package/fourmolu)
with a [custom
configuration](https://github.com/swarm-game/swarm/blob/main/fourmolu.yaml)
for formatting Haskell code.

To install the formatter, run:

```bash
cabal install fourmolu-0.10.1.0
cabal install fourmolu-0.13.0.0
```

If this installation does not work, you may have to set your GHC to a version supported by `fourmolu`:
Expand Down
3 changes: 3 additions & 0 deletions fourmolu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ respectful: true
single-constraint-parens: auto
haddock-style: single-line
newlines-between-decls: 1
reexports:
- module Text.Megaparsec exports Control.Applicative
- module Options.Applicative exports Control.Applicative

0 comments on commit 4bfb765

Please sign in to comment.