Skip to content

Commit e4e59d3

Browse files
author
Lars Ködderitzsch
committed
#2801 Add ability to run Biome assists
1 parent 19ef946 commit e4e59d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/main/java/com/diffplug/spotless/biome/BiomeStep.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2025 DiffPlug
2+
* Copyright 2016-2026 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -393,7 +393,9 @@ private String[] buildBiomeCommand(File file) {
393393
var fileName = resolveFileName(file);
394394
var argList = new ArrayList<String>();
395395
argList.add(pathToExe);
396-
argList.add("format");
396+
argList.add("check");
397+
argList.add("--write");
398+
argList.add("--javascript-linter-enabled=false");
397399
argList.add("--stdin-file-path");
398400
argList.add(fileName);
399401
if (configPath != null) {

0 commit comments

Comments
 (0)