Skip to content

Commit

Permalink
fix: pre-commit when --all-files is use on manual, for example in 'ma…
Browse files Browse the repository at this point in the history
…ke fmt-al' (HumanSignal#5819)

When you execute 
`pre-commit run --hook-stage manual "biome-check" --config
.pre-commit-dev.yaml --all-files`
for example using 'make fmt-al' biome hangs because files outside the
main configuration are being pass.

Co-authored-by: Raul Martin <[email protected]>
  • Loading branch information
luarmr and luarmr authored May 3, 2024
1 parent 26ec9f5 commit aea05a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ repos:
- id: biome-check
args: [--config-path, ./web]
additional_dependencies: ["@biomejs/[email protected]"]
files: ^web/.*

0 comments on commit aea05a3

Please sign in to comment.