Add Biome Linting Support

Open
#2,275 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start by locating Spotless's Biome-Formatter integration and the entry point that currently invokes biome format. Compare that behavior with the requested biome check command and the referenced biome.json; done means the integration can enforce Biome linting rules as well as formatting, with the relevant verification passing.

Written by the indexing model from the issue text.

Description

enhancement

Hi 👋

if I am not mistaken, the Biome-Formatter in Spotless currently only supports formatting but doesn’t check or apply linting rules. It would be great if the integration could support Biome’s linting as well to enforce the same rules as the referenced biome.json.

I think at the moment Spotless only runs biome format. To check the Linting as well we'd need to run biome check instead.

Thanks for considering this (or telling me that there's a configuration option that i missed 😆 )!

Cheers, Joscha

Dominant language
Java
Stars
5.7k
Forks
560
Avg merge
1d 13h
Merged PRs (30d)
43

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/spotless

All issues in diffplug/spotless

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.