-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfourmolu.yaml
More file actions
44 lines (30 loc) · 885 Bytes
/
fourmolu.yaml
File metadata and controls
44 lines (30 loc) · 885 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
36
37
38
39
40
41
42
43
44
# Fourmolu configuration for morloc compiler
# https://github.com/fourmolu/fourmolu
# Indentation
indentation: 2
# Maximum line length (soft limit for formatting decisions)
column-limit: 100
# How to format function arguments
function-arrows: trailing
# How to format record syntax
record-brace-space: true
# Indent where bindings
indent-wheres: true
# How to format haddock comments
haddock-style: multi-line
# How to format import lists
import-export-style: leading
# How to format record fields
record-style: multi-line
# How to format let expressions
let-style: inline
# How to format in expressions
in-style: right-align
# How to treat single constraint contexts
single-constraint-parens: always
# Unicode syntax (don't convert to unicode)
unicode: never
# Respect language pragmas in files
respectful: true
# Newlines between declarations
newlines-between-decls: 1