-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfourmolu.yaml
35 lines (35 loc) · 1016 Bytes
/
fourmolu.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
indentation: 2
column-limit: 80 # needs fourmolu >= v0.12
function-arrows: leading
comma-style: leading # default
import-export-style: leading
import-grouping: # needs fourmolu >= v0.17
- name: "Preludes"
rules:
- glob: Prelude
- glob: "**.Prelude"
- glob: Import
- glob: "**.Import"
- glob: TestImport
- glob: "**.TestImport"
- glob: "TestImport.**"
- 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 # needs fourmolu >= v0.12
sort-constraints: true # needs fourmolu >= v0.17
sort-derived-classes: true # needs fourmolu >= v0.17
sort-derived-clauses: true # needs fourmolu >= v0.17
trailing-section-operators: false # needs fourmolu >= v0.12
unicode: never # default
respectful: true # default
fixities:
- "infix 4 `stringEqual`"
- "infixl 1 &"