Skip to content

Automated formatting #510

Description

@cquiroz

This is a place to discuss formatting. I've been using scalafmt but not very systematically. It is not integrated into the build and I've used it only for new code.
I'm using the format rules selected for http4s with the only difference that I'm doing vertical alignment as much as possible.

style = default

maxColumn = 100

align = most // In http4s they use align = none

rewrite.rules = [
  AvoidInfix
  RedundantBraces
  RedundantParens
  AsciiSortImports
  PreferCurlyFors
]

What do you think?
/cc @tpolecat @swalker2m @sraaphorst @jluhrs @jdnavarro

Some links:
scalafmt
http4s config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions