-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.stylish-haskell.yaml
48 lines (41 loc) · 1.04 KB
/
.stylish-haskell.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
36
37
38
39
40
41
42
43
44
45
46
47
48
# Current version is 0.12.2.0.
# See https://github.com/jaspervdj/stylish-haskell/blob/main/data/stylish-haskell.yaml for documentation.
steps:
- module_header:
indent: 4
sort: false
separate_lists: true
- records:
equals: "indent 4"
first_field: "indent 4"
field_comment: 2
deriving: 4
via: "indent 4"
sort_deriving: false
break_enums: false
break_single_constructors: false
curried_context: false
- simple_align:
cases: adjacent
top_level_patterns: adjacent
records: adjacent
multi_way_if: adjacent
- imports:
align: group
list_align: with_module_name
pad_module_names: false
long_list_align: inline
empty_list_align: inherit
list_padding: 4
separate_lists: true
space_surround: false
ghc_lib_parser: true
- language_pragmas:
style: vertical
align: true
remove_redundant: true
language_prefix: LANGUAGE
- trailing_whitespace: {}
columns: 120
newline: native
cabal: true