Skip to content

Formatting with Biome #2824

@langestefan

Description

@langestefan

Context: #2799

During the discussion the topic of code formatting came up.

Currently JS is formatted using prettier, but it is relatively slow and discrepancies exist between the different prettier versions used in CI and the vscode extension. The current situation also requires developers to setup and configure their own prettier locally correctly, such that it matches the CI prettier check.

Proposal

A great alternative for prettier is Biome. It has a github CI action, a pre-commit hook and a vscode extension. This should avoid discrepancies between locally formatted files and CI checks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions