You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This task is to apply fourmolu configuration specified by the fourmolu.yaml in the project root to the plutus-ledger-api subfolder.
It is ok to skip modules initially by adding the FOURMOLU_DISABLE annotation and re-format them later in the opportunistic manner. Please check the official doc on how to use "magic comments".
You can follow these steps:
$ cd plutus-ledger-api
$ find src -name "*.hs" -exec fourmolu -i {} \;# reformats all *.hs under the `src` folder with fourmolu
$ find src -name "*.hs" -exec stylish-haskell -i {} \;# applies `stylish-haskell` on top of the fourmolu
Then scrutinize the diff manually disabling fourmolu formatting where appropriate using the "magic comments".
The text was updated successfully, but these errors were encountered:
This task is to apply
fourmolu
configuration specified by thefourmolu.yaml
in the project root to theplutus-ledger-api
subfolder.It is ok to skip modules initially by adding the
FOURMOLU_DISABLE
annotation and re-format them later in the opportunistic manner. Please check the official doc on how to use "magic comments".You can follow these steps:
Then scrutinize the diff manually disabling fourmolu formatting where appropriate using the "magic comments".
The text was updated successfully, but these errors were encountered: