Add stylish-haskell.yaml, update spacing to 4 in configs
This commit is contained in:
parent
8adab239df
commit
b5de5d81c7
@ -11,8 +11,8 @@ insert_final_newline = true
|
||||
|
||||
[*.{hs,md,php}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
39
.stylish-haskell.yaml
Normal file
39
.stylish-haskell.yaml
Normal file
@ -0,0 +1,39 @@
|
||||
steps:
|
||||
- imports:
|
||||
align: none
|
||||
list_align: with_module_name
|
||||
pad_module_names: false
|
||||
long_list_align: new_line_multiline
|
||||
empty_list_align: inherit
|
||||
list_padding: 7 # length "import "
|
||||
separate_lists: false
|
||||
space_surround: false
|
||||
- language_pragmas:
|
||||
style: vertical
|
||||
align: false
|
||||
remove_redundant: true
|
||||
- simple_align:
|
||||
cases: false
|
||||
top_level_patterns: false
|
||||
records: false
|
||||
- trailing_whitespace: {}
|
||||
indent: 4
|
||||
columns: 80
|
||||
newline: native
|
||||
language_extensions:
|
||||
- BlockArguments
|
||||
- DataKinds
|
||||
- DeriveGeneric
|
||||
- DerivingStrategies
|
||||
- DerivingVia
|
||||
- ExplicitForAll
|
||||
- FlexibleContexts
|
||||
- MultiParamTypeClasses
|
||||
- NamedFieldPuns
|
||||
- OverloadedStrings
|
||||
- QuantifiedConstraints
|
||||
- RecordWildCards
|
||||
- ScopedTypeVariables
|
||||
- TemplateHaskell
|
||||
- TypeApplications
|
||||
- ViewPatterns
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user