We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b8e1c6 + 6a3d22f commit ddae800Copy full SHA for ddae800
1 file changed
modules/hooks.nix
@@ -216,6 +216,13 @@ in
216
# underlying biome binary (i.e biome.json if exists)
217
default = "";
218
};
219
+
220
+ flags = mkOption {
221
+ type = types.str;
222
+ description = "Additional flags passed to biome. See all available [here](https://biomejs.dev/reference/cli/).";
223
+ default = "";
224
+ example = "--no-errors-on-unmatched";
225
+ };
226
227
228
@@ -2675,6 +2682,7 @@ in
2675
2682
mkCmdArgs [
2676
2683
[ (hooks.biome.settings.write) "--write" ]
2677
2684
[ (hooks.biome.settings.configPath != "") "--config-path ${hooks.biome.settings.configPath}" ]
2685
+ [ (hooks.biome.settings.flags != "") hooks.biome.settings.flags ]
2678
2686
];
2679
2687
in
2680
2688
"${binPath} check ${cmdArgs}";
0 commit comments