Skip to content

Commit 41befe3

Browse files
authored
Merge pull request #598 from plugwise/pre-commit
Replace prettier with biome
2 parents 8593e1f + aeba1ac commit 41befe3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,12 @@ repos:
9292
entry: /usr/bin/env bash -c 'exec env GITHUB_ACTIONS="1" scripts/tests_and_coverage.sh test_and_coverage'
9393
language: script
9494
pass_filenames: false
95-
- repo: https://github.com/pre-commit/mirrors-prettier
96-
rev: v4.0.0-alpha.8
95+
- repo: https://github.com/biomejs/pre-commit
96+
rev: v0.4.0
9797
hooks:
98-
- id: prettier
98+
- id: biome-lint
99+
additional_dependencies: ["@biomejs/[email protected]"]
100+
name: "Verifying/updating code with biome (improved prettier)"
99101
- repo: https://github.com/igorshubovych/markdownlint-cli
100102
rev: v0.41.0
101103
hooks:

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)