biome: use --stdin-file-path for fixer (#5051)

This commit is contained in:
Albert Peschar
2025-11-22 14:03:14 +02:00
committed by GitHub
parent 86d8ada5cb
commit 260c756a9b
2 changed files with 6 additions and 10 deletions

View File

@@ -15,9 +15,8 @@ Execute(The default biome command should be correct):
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('biome')
\ . ' check --write %t'
\ . ' check --write --stdin-file-path %s'
\ }
Execute(Unsafe fixes can be applied via an option):
@@ -26,9 +25,8 @@ Execute(Unsafe fixes can be applied via an option):
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('biome')
\ . ' check --write --unsafe %t'
\ . ' check --write --stdin-file-path %s --unsafe'
\ }
Execute(The fixer should accept options):
@@ -37,7 +35,6 @@ Execute(The fixer should accept options):
AssertFixer
\ {
\ 'read_temporary_file': 1,
\ 'command': ale#Escape('biome')
\ . ' check --write --foobar %t',
\ . ' check --write --stdin-file-path %s --foobar',
\ }