Skip to content

Use Biome for code formatting to close #743 - #770

Merged
mathiasrw merged 1 commit into
mainfrom
fix/743
Oct 23, 2026
Merged

mathiasrw merged 1 commit into
mainfrom
fix/743

Conversation

@mathiasrw

Copy link
Copy Markdown
Owner

Closes #743

Replaces #751, which was on an old base.

Change

  • Biome in place of Prettier for formatting. yarn format runs biome format --write, and yarn test-format runs biome format.
  • biome.json is the config from argmate. The only change is that the built bin/ is left out, next to dist/.
  • .prettierrc and .prettierignore are removed, and // prettier-ignore is now // biome-ignore format.
  • The code is formatted with Biome. This is only formatting: mostly, an arrow function with one parameter has no parentheses around it, as in argmate.

Good to know

  • Biome does not format Markdown. Prettier did not either here, as *.md was in .prettierignore.
  • The linter in the config is not run by any script yet.
  • Run yarn install after you switch to this branch, as Prettier is removed and Biome is added.

@mathiasrw
mathiasrw merged commit 79f99ac into main Oct 23, 2026
7 checks passed
@mathiasrw
mathiasrw deleted the fix/743 branch October 23, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use Biome for code formatting

1 participant