Skip to content

Commit

Permalink
Track haskell tooling configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jun 3, 2018
1 parent d504e21 commit f0b4e70
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/brittany/config.yaml
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
9 changes: 9 additions & 0 deletions hlint.yaml
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
22 changes: 22 additions & 0 deletions stylish-haskell.yaml
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

0 comments on commit f0b4e70

Please sign in to comment.