-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track haskell tooling configurations
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
conf_version: 1 | ||
conf_layout: | ||
# 4-space indent, avoid context-aware anything | ||
lconfig_indentAmount: 4 | ||
lconfig_indentPolicy: IndentPolicyLeft | ||
lconfig_columnAlignMode: {tag: ColumnAlignModeDisabled} | ||
|
||
# Don't style imports; stylish haskell does that (and better). Also disables | ||
# styling exports, which I could take or leave, but since it's a single | ||
# configuration key, we have to turn it off. | ||
lconfig_reformatModulePreamble: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- ignore: | ||
# I find this hint is overwhelmingly false-positives | ||
name: Reduce duplication | ||
- ignore: | ||
# It's common to leave a redundant do in spec, describe, it to reduce diff | ||
# noise when specifications, contexts, and examples are inevitably added. | ||
name: Redundant do | ||
within: spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
steps: | ||
- simple_align: | ||
cases: false | ||
top_level_patterns: false | ||
records: false | ||
- imports: | ||
align: none | ||
list_align: after_alias | ||
pad_module_names: false | ||
long_list_align: new_line_multiline | ||
empty_list_align: right_after | ||
list_padding: 4 | ||
separate_lists: false | ||
space_surround: false | ||
- language_pragmas: | ||
style: vertical | ||
align: false | ||
remove_redundant: true | ||
- trailing_whitespace: {} | ||
columns: 80 | ||
newline: native |