From a73553030a1ad95fe8d8c31860900abb18483853 Mon Sep 17 00:00:00 2001 From: Veronika Romashkina Date: Sun, 30 Sep 2018 21:04:43 +0800 Subject: [PATCH] Create .stylish-haskell.yaml --- .stylish-haskell.yaml | 59 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .stylish-haskell.yaml diff --git a/.stylish-haskell.yaml b/.stylish-haskell.yaml new file mode 100644 index 0000000..8365b1e --- /dev/null +++ b/.stylish-haskell.yaml @@ -0,0 +1,59 @@ +steps: + - simple_align: + cases: true + top_level_patterns: true + records: true + + # Import cleanup + - imports: + align: none + list_align: after_alias + pad_module_names: false + long_list_align: inline + empty_list_align: inherit + list_padding: 4 + separate_lists: true + space_surround: false + + - language_pragmas: + style: vertical + remove_redundant: true + + # Remove trailing whitespace + - trailing_whitespace: {} + +columns: 100 + +newline: native + +language_extensions: + - BangPatterns + - ConstraintKinds + - DataKinds + - DefaultSignatures + - DeriveAnyClass + - DeriveDataTypeable + - DeriveGeneric + - DerivingStrategies + - FlexibleContexts + - FlexibleInstances + - FunctionalDependencies + - GADTs + - GeneralizedNewtypeDeriving + - InstanceSigs + - KindSignatures + - LambdaCase + - MultiParamTypeClasses + - MultiWayIf + - NamedFieldPuns + - NoImplicitPrelude + - OverloadedStrings + - QuasiQuotes + - RecordWildCards + - ScopedTypeVariables + - StandaloneDeriving + - TemplateHaskell + - TupleSections + - TypeApplications + - TypeFamilies + - ViewPatterns