-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfourmolu.yaml
More file actions
35 lines (34 loc) · 916 Bytes
/
fourmolu.yaml
File metadata and controls
35 lines (34 loc) · 916 Bytes
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 v0.12
function-arrows: leading
comma-style: leading # default
import-export-style: leading
import-grouping: # needs v0.17
- name: "Preludes"
rules:
- glob: Prelude
- glob: "**.Prelude"
- glob: RIO
- glob: Stackctl.Test.App
- 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 v0.12
sort-constraints: false # default
sort-derived-classes: false # default
sort-derived-clauses: false # default
trailing-section-operators: false # needs v0.17
unicode: never # default
respectful: true # default
# fourmolu can't figure this out because of the re-exports we use
fixities:
- "infixl 1 &"
- "infixr 4 .~"
- "infixr 4 ?~"