Skip to content

Line length limit in fourmolu #71

@gustavoavena

Description

@gustavoavena

TL;DR: Would an option for max number of characters in a line be a welcome feature in fourmolu? Is anyone asking about or working on this?

Based on ormolu's design principle's and a couple of comments that I've seen in its repo (e.g. this), I know that setting a limit to the number of character in a line is not something that they would want to do.

FWIU, fourmolu was forked to provide more customization, so it now provides multiple options which I imagine wouldn't be considered in ormolu. With this in mind, I wanted to ask the maintainers about possibly adding an option for max number of characters in a line.

  • Would this be a welcome feature? Or is there a reason not to do this (e.g. increases the separation from ormolu, harder to maintain)?
  • Has anyone asked for this before? Is anyone working or planning to work on this already?

Thanks!

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