From 40d350e4f93f1cfca4373f57ccb6e97afed73cd3 Mon Sep 17 00:00:00 2001 From: Sergio Livi Date: Fri, 20 Mar 2026 10:59:23 +0100 Subject: [PATCH 1/2] Clarify descriptions of biome pre-commit hooks Updated descriptions for biome's pre-commit hooks to clarify functionality. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2ddc164..e3c3d3c 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ The following section assumes that you [installed pre-commit](https://pre-commit Biome provides four hooks: -| hook `id` | description | -| -------------- | --------------------------------------------------------------------------- | -| `biome-ci` | Check formatting, check if imports are organized, and lints | -| `biome-check` | Format, organize imports, lint, and apply safe fixes to the committed files | -| `biome-format` | Format the committed files | -| `biome-lint` | Lint and apply safe fixes to the committed files | +| hook `id` | description | +| -------------- | ------------------------------------------------------------------------------------------------------------------- | +| `biome-ci` | Check formatting, check if imports are organized, and lints (`biome-check`, but read-only) | +| `biome-check` | Format, organize imports, lint, and apply safe fixes to the committed files (same as `biome-format` + `biome-lint`) | +| `biome-format` | Format the committed files | +| `biome-lint` | Lint and apply safe fixes to the committed files | For example, if you want to use the `biome-check` hook, add the following pre-commit configuration to the root of your project in a file named `.pre-commit-config.yaml`: From fbe070fba24a89c4ee59bd8ced5b4b0b94a61162 Mon Sep 17 00:00:00 2001 From: Sergio Livi Date: Fri, 20 Mar 2026 11:14:04 +0100 Subject: [PATCH 2/2] Update descriptions for biome pre-commit hooks --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e3c3d3c..8920df6 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ The following section assumes that you [installed pre-commit](https://pre-commit Biome provides four hooks: -| hook `id` | description | -| -------------- | ------------------------------------------------------------------------------------------------------------------- | -| `biome-ci` | Check formatting, check if imports are organized, and lints (`biome-check`, but read-only) | -| `biome-check` | Format, organize imports, lint, and apply safe fixes to the committed files (same as `biome-format` + `biome-lint`) | -| `biome-format` | Format the committed files | -| `biome-lint` | Lint and apply safe fixes to the committed files | +| hook `id` | description | +| -------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `biome-ci` | Check formatting, check if imports are organized, and lints (same rules as `biome-check`, but read-only) | +| `biome-check` | Format, organize imports, lint, and apply safe fixes to the committed files (same results as `biome-format` + `biome-lint`) | +| `biome-format` | Format the committed files | +| `biome-lint` | Lint and apply safe fixes to the committed files | For example, if you want to use the `biome-check` hook, add the following pre-commit configuration to the root of your project in a file named `.pre-commit-config.yaml`: