set -XOverloadedRecordDot flag instead of using RecordDotProcessor
This commit is contained in:
parent
e5079ea634
commit
d5edcdcbd5
3 changed files with 3 additions and 4 deletions
4
.github/format.sh
vendored
4
.github/format.sh
vendored
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Extensions necessary to tell fourmolu about
|
||||
EXTENSIONS="-o -XTypeApplications -o -XTemplateHaskell -o -XImportQualifiedPost -o -XPatternSynonyms -o -fplugin=RecordDotPreprocessor"
|
||||
# Extensions necessary to tell fourmolu about
|
||||
EXTENSIONS="-o -XTypeApplications -o -XTemplateHaskell -o -XImportQualifiedPost -o -XPatternSynonyms -o -XOverloadedRecordDot"
|
||||
SOURCES=$(git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.hs')
|
||||
nix run nixpkgs#haskellPackages.fourmolu -- --mode check --check-idempotence $EXTENSIONS $SOURCES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue