diff options
| author | LLLL Colonq <llll@colonq> | 2023-11-16 19:06:43 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2023-11-16 19:06:43 -0500 |
| commit | dcef0b65069fb38fd0f6c4382353167f603ebff1 (patch) | |
| tree | 45954ffe308c3dd056e6af4f734e6d2af89e5856 /deps/irc-client/.stylish-haskell.yaml | |
Initial commit
Diffstat (limited to 'deps/irc-client/.stylish-haskell.yaml')
| -rw-r--r-- | deps/irc-client/.stylish-haskell.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/deps/irc-client/.stylish-haskell.yaml b/deps/irc-client/.stylish-haskell.yaml new file mode 100644 index 0000000..2d3ca44 --- /dev/null +++ b/deps/irc-client/.stylish-haskell.yaml @@ -0,0 +1,56 @@ +# stylish-haskell configuration file +# https://github.com/jaspervdj/stylish-haskell +########################## + +steps: + # Import cleanup + - imports: + # Align the import names and import list throughout the entire + # file. + align: global + + # Import list is aligned with end of import including 'as' and + # 'hiding' keywords. + # + # > import qualified Data.List as List (concat, foldl, foldr, head, + # > init, last, length) + list_align: after_alias + + # Put as many import specs on same line as possible. + long_list_align: inline + + # () is right after the module name: + # + # > import Vector.Instances () + empty_list_align: right_after + + # Align import list on lines after the import under the start of + # the module name. + list_padding: module_name + + # There is no space between classes and constructors and the + # list of it's members. + # + # > import Data.Foldable (Foldable(fold, foldl, foldMap)) + separate_lists: false + + # Language pragmas + - language_pragmas: + # Vertical-spaced language pragmas, one per line. + style: vertical + + # Brackets are not aligned together. There is only one space + # between actual import and closing bracket. + align: false + + # Remove redundant language pragmas. + remove_redundant: true + + # Remove trailing whitespace + - trailing_whitespace: {} + +# Maximum line length, used by some of the steps above. +columns: 80 + +# Convert newlines to LF ("\n"). +newline: lf |
