IntersectMBO / cardano-api

Cardano API
Apache License 2.0
22 stars 20 forks source link

Set Fourmolu as formatter #582

Closed palas closed 2 months ago

palas commented 2 months ago

Changelog

- description: |
    Added Fourmolu to dev shell, to haskell-style-lint hook script, and modified stylish-haskell action to use Fourmolu instead
  type:
  - maintenance    # not directly related to the code

Context

We don't want to have to worry about formatting .hs files, and we want to be consistent. This PR tries to address this by establishing and enforcing a strong formatter (Formoulu).

How to trust this PR

Probably check that the hook works for you. Also that you are happy with the changes and configuration, and that the CI passes.

Checklist