Skip to content

Maintenance: evaluate biome for linting and format  #1973

Closed
@dreamorosi

Description

@dreamorosi

Summary

As of now the project uses a combination of eslint and prettier to lint and format code.

This works well enough, however there are newer alternatives like biome that boast high compatibility with our current tools (97%) and could allow us to handle both tasks with a single tool/dependency.

This issue tracks the efforts to test the tool on our repo, configure it in a way that causes the least amount of disruption, and potentially adopt it.


Edit:

To split the work and ease review, I'll break down the migration in a series of issues/PRs:

Why is this needed?

The main driver behind this issue is reducing maintainer fatigue. The combination of those two tools requires 9 dev dependencies which need to be kept up to date (Dependabot spam) and understood.

Additionally, there might be a chance to improve performance in our CI by both reducing the time for these operations (probably marginal at our repo size) as well as the time to set up the CI environment due to having less dependencies to fetch & install.

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions