Skip to content

Commit

Permalink
Use diff-friendly import style.
Browse files Browse the repository at this point in the history
This commit changes our import style configuration so that each symbol
is imported on a separate line.

This is identical to the style used by `fourmolu`.

This configuration is respected by older and newer versions of
`stylish-haskell` (specifically, versions `3.3` and `3.6.1`).
  • Loading branch information
jonathanknowles committed Oct 19, 2023
1 parent a884777 commit 8dff60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .stylish-haskell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://github.com/jaspervdj/stylish-haskell/blob/master/data/stylish-haskell.yaml
# for usage.

columns: 80 # Should match .editorconfig
columns: 1 # Force diff-friendly import style (one line per symbol).
steps:
- imports:
align: none
Expand Down

0 comments on commit 8dff60d

Please sign in to comment.