This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new 63f4ff5 Add installation instructions for Biome
63f4ff5 is described below
commit 63f4ff53e750b5626e2d5d22b07a3a6aa778907c
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Dec 10 20:00:03 2025 +0000
Add installation instructions for Biome
---
.pre-commit-heavy.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.pre-commit-heavy.yaml b/.pre-commit-heavy.yaml
index 5cf9eac..9b31eb7 100644
--- a/.pre-commit-heavy.yaml
+++ b/.pre-commit-heavy.yaml
@@ -3,7 +3,9 @@ repos:
- repo: local
hooks:
- id: biome-check
- name: biome (no-npm) check
+ # Install biome from https://biomejs.dev/guides/manual-installation/
+ # Avoid using NPM to install it until #359 is resolved
+ name: biome JS check
entry: biome check --write --files-ignore-unknown=true
--no-errors-on-unmatched --colors=off
language: system
types: [javascript]
@@ -16,10 +18,12 @@ repos:
types: [javascript]
files: ^atr/static/js/src/.*\.js$
args:
+ # These must be in the order deny, warn, allow
- --deny=correctness
- --deny=perf
- --warn=suspicious
- --warn=pedantic
+ - --allow=unicorn/prefer-query-selector
- repo: https://github.com/oxipng/oxipng
rev: v9.1.5
hooks:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]