aboutsummaryrefslogtreecommitdiff
path: root/.stylish-haskell.yaml
diff options
context:
space:
mode:
authorJoris2017-11-13 23:56:40 +0100
committerJoris2017-11-14 00:03:10 +0100
commit5a63f7be9375e3ab888e4232dd7ef72c2f1ffae1 (patch)
tree4884de1d03bc47ba8f06b2cf68365d9eed9e0d39 /.stylish-haskell.yaml
parent213cf7ede058b781fc957de2cd9f6a5988c08004 (diff)
downloadbudget-5a63f7be9375e3ab888e4232dd7ef72c2f1ffae1.tar.gz
budget-5a63f7be9375e3ab888e4232dd7ef72c2f1ffae1.tar.bz2
budget-5a63f7be9375e3ab888e4232dd7ef72c2f1ffae1.zip
Setup stylish-haskell
Diffstat (limited to '.stylish-haskell.yaml')
-rw-r--r--.stylish-haskell.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.stylish-haskell.yaml b/.stylish-haskell.yaml
new file mode 100644
index 0000000..3642d0e
--- /dev/null
+++ b/.stylish-haskell.yaml
@@ -0,0 +1,30 @@
+steps:
+ - simple_align:
+ cases: true
+ top_level_patterns: true
+ records: true
+
+ - imports:
+ align: global
+ list_align: after_alias
+ pad_module_names: true
+ long_list_align: inline
+ empty_list_align: inherit
+ list_padding: 4
+ separate_lists: true
+ space_surround: false
+
+ - language_pragmas:
+ style: vertical
+ align: true
+ remove_redundant: true
+
+ - trailing_whitespace: {}
+
+columns: 80
+
+newline: native
+
+language_extensions:
+ - ExistentialQuantification
+ - MultiParamTypeClasses