Skip to content

Commit 62aec53

Browse files
gugahoistevearc
andauthored
doc: add more details to the biome formatter descriptions (#755)
--------- Co-authored-by: Steven Arcangeli <[email protected]>
1 parent a0ab60e commit 62aec53

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lua/conform/formatters/biome-check.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ local util = require("conform.util")
22
---@type conform.FileFormatterConfig
33
return {
44
meta = {
5-
url = "https://github.com/biomejs/biome",
6-
description = "A toolchain for web projects, aimed to provide functionalities to maintain them.",
5+
url = "https://biomejs.dev/reference/cli/#biome-check",
6+
description = "A toolchain for web projects, aimed to provide functionalities to maintain them. This config runs formatting, linting and import sorting. See `biome` or `biome-organize-imports` for other options.",
77
},
88
command = util.from_node_modules("biome"),
99
stdin = true,

lua/conform/formatters/biome-organize-imports.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local util = require("conform.util")
33
return {
44
meta = {
55
url = "https://github.com/biomejs/biome",
6-
description = "A toolchain for web projects, aimed to provide functionalities to maintain them.",
6+
description = "A toolchain for web projects, aimed to provide functionalities to maintain them. This config runs import sorting *only*. See `biome` or `biome-check` for other options.",
77
},
88
command = util.from_node_modules("biome"),
99
stdin = true,

lua/conform/formatters/biome.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ local util = require("conform.util")
22
---@type conform.FileFormatterConfig
33
return {
44
meta = {
5-
url = "https://github.com/biomejs/biome",
6-
description = "A toolchain for web projects, aimed to provide functionalities to maintain them.",
5+
url = "https://biomejs.dev/reference/cli/#biome-format",
6+
description = "A toolchain for web projects, aimed to provide functionalities to maintain them. This config runs formatting *only*. See `biome-check` or `biome-organize-imports` for other options.",
77
},
88
command = util.from_node_modules("biome"),
99
stdin = true,

0 commit comments

Comments
 (0)