-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylish-haskell.yaml
42 lines (36 loc) · 1.24 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
# stylish-haskell configuration file
# ==================================
# The stylish-haskell tool is mainly configured by specifying steps. These steps
# are a list, so they have an order, and one specific step may appear more than
# once (if needed). Each file is processed by these steps in the given order.
steps:
# Convert some ASCII sequences to their Unicode equivalents. This is disabled
# by default.
# - unicode_syntax:
# # In order to make this work, we also need to insert the UnicodeSyntax
# # language pragma. If this flag is set to true, we insert it when it's
# # not already present. You may want to disable it if you configure
# # language extensions using some other method than pragmas. Default:
# # true.
# add_language_pragma: true
- simple_align:
cases: true
top_level_patterns: true
records: true
# Import cleanup
- imports:
align: global
list_align: after_alias
long_list_align: inline
list_padding: 4
separate_lists: true
post_qualify: false
group_imports: true
empty_list_align: inherit
# Language pragmas
- language_pragmas:
style: vertical
align: true
- trailing_whitespace: {}
columns: 128
newline: lf