Add the stylish-haskell config.

main
Rob Rix 2020-07-03 13:39:05 -04:00
parent bce1613a2d
commit 4d63df6eb3
No known key found for this signature in database
GPG Key ID: 2BE643E01DC032AE
1 changed files with 33 additions and 0 deletions

33
.stylish-haskell.yaml Normal file
View File

@ -0,0 +1,33 @@
steps:
- simple_align:
cases: true
top_level_patterns: true
records: true
- imports:
align: file
list_align: after_alias
pad_module_names: false
long_list_align: new_line_multiline
empty_list_align: inherit
list_padding: 2
separate_lists: false
space_surround: false
- language_pragmas:
style: vertical
align: false
remove_redundant: true
- tabs:
spaces: 2
- trailing_whitespace: {}
columns: 120
newline: native
language_extensions:
- FlexibleContexts
- MultiParamTypeClasses