-
Notifications
You must be signed in to change notification settings - Fork 214
/
.stylish-haskell.yaml
46 lines (43 loc) · 1.08 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
# Stylish-haskell configuration file
#
# See `stylish-haskell --defaults` or
# https://github.com/jaspervdj/stylish-haskell/blob/master/data/stylish-haskell.yaml
# for usage.
columns: 1 # Force diff-friendly import style (one line per symbol).
steps:
- imports:
align: none
empty_list_align: inherit
list_align: new_line
list_padding: 4
long_list_align: new_line_multiline
pad_module_names: false
separate_lists: true
space_surround: true
- trailing_whitespace: {}
- language_pragmas:
align: false
remove_redundant: true
style: vertical
language_extensions:
- BlockArguments
# Workaround for stylish-haskell bug (jaspervdj/stylish-haskell#103)
- DataKinds
- DeriveAnyClass
- DerivingStrategies
# Workaround for stylish-haskell bug (jaspervdj/stylish-haskell#230)
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- NamedFieldPuns
- OverloadedStrings
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- TypeApplications
- TypeFamilies
- TypeOperators