Skip to content

Commit fdf7705

Browse files
committed
feat(biome): don't include empty config
This change will allow usage of plain `biome.json`
1 parent 5b4ee75 commit fdf7705

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/formatter-biome.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ includes = [
1818
"*.jsonc",
1919
"*.css",
2020
]
21-
options = ["check", "--write", "--no-errors-on-unmatched", "--config-path", "config.json"]
21+
options = ["check", "--write", "--no-errors-on-unmatched"]

programs/biome.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ in
151151
cp "$json" $out
152152
'';
153153
in
154-
[
154+
l.optionals (cfg.settings != { }) [
155155
"--config-path"
156156
"${if cfg.validate.enable then validatedConfig else jsonFile}"
157157
]

0 commit comments

Comments
 (0)