Skip to content

formatter: @stylistic/brace-style like option #20154

@nyteshade

Description

@nyteshade

The only thing keeping me from using prettier, oxfmt or biome and keeps me on older versions of ESLint is the inflexibility when it comes to brace formatting.

I need the following with an optional newline between else conditions. Is this something we have flexibility on or are we pretending that nobody else wants this still?

if (condition) {
  …
}
else (condition) {
  …
}

do {
  …
}
while (condition)

try {
  …
}
catch (error) {
  …
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions