Skip to content

Format all .cabal files in the repo with a cabal formatter #4228

Open
@fendor

Description

@fendor

As noticed in #4224 (comment), non-standard formatting can make it harder to read and .cabal file.

We have now at least two good options for formatting .cabal files that we both support in HLS itself:

  • cabal-gild
  • cabal-fmt

Perhaps we should start using these formatters in HLS and add new CI jobs that make sure all our .cabal files are formatted accordingly.

If the output of the formatter looks unwieldy to us, we should reach out to the projects and discuss improvements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions