Skip to content

Set up formatting in CI #2763

Description

@nikita-volkov

Strategy

I see two options:

  1. Checking. Fail on incorrect formatting.

  2. Autoformatting as a chore job triggered by commits on master.

I vote for 2 (it served me well in my practice), but 1 is more common.

Formatters

For Haskell I suggest to just go with Ormolu since it's minimal amount of decisions.

For Cabal I suggest to go with cabal-gild.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions