Skip to content

Commit

Permalink
Configure for fourmolu-v0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jan 29, 2025
1 parent caefa81 commit 43bf24a
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions fourmolu.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
indentation: 2
column-limit: 80 # ignored until v12 / ghc-9.6
column-limit: 80
function-arrows: leading
comma-style: leading # default
import-export-style: leading
import-grouping:
- name: "Preludes"
rules:
- glob: Prelude
- glob: Relude
- name: "Everything else"
rules:
- match: all
priority: 100
indent-wheres: false # default
record-brace-space: true
newlines-between-decls: 1 # default
haddock-style: single-line
let-style: mixed
in-style: left-align
single-constraint-parens: never # ignored until v12 / ghc-9.6
single-constraint-parens: never
sort-constraints: true
sort-derived-classes: true
sort-derived-clauses: true
trailing-section-operators: false
unicode: never # default
respectful: true # default
fixities:
- "infix 4 `stringEqual`"
- "infixl 1 &"

0 comments on commit 43bf24a

Please sign in to comment.