-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylish-haskell.yaml
50 lines (47 loc) · 1.15 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
49
50
steps:
- module_header:
indent: 4
sort: true
break_where: inline
open_bracket: same_line
- records:
equals: "same_line"
first_field: "same_line"
field_comment: 2
deriving: 2
via: "same_line"
sort_deriving: true
break_enums: false
break_single_constructors: false
curried_context: false
# Possible values:
# - always - Always align statements.
# - adjacent - Align statements that are on adjacent lines in groups.
# - never - Never align statements.
- simple_align:
cases: always
top_level_patterns: always
records: always
multi_way_if: always
- imports:
align: none
list_align: with_module_name
pad_module_names: false
long_list_align: inline
empty_list_align: right_after
list_padding: 4
separate_lists: true
space_surround: false
post_qualify: true
group_imports: true
group_rules:
- match: ".*"
sub_group: "^[^.]+"
- language_pragmas:
style: compact
align: false
remove_redundant: true
language_prefix: LANGUAGE
columns: 88
newline: lf
cabal: true