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 00a8504  Add JS formatting to standard lints
00a8504 is described below

commit 00a8504cc3c8acb3ecf313992948acb4fa20f2e6
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Dec 11 19:39:22 2025 +0000

    Add JS formatting to standard lints
---
 .pre-commit-config.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4b3ddcc..3f0edc2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -122,6 +122,15 @@ repos:
       language: system
       types: [python]
 
+    - id: biome-format
+      # Install biome from https://biomejs.dev/guides/manual-installation/
+      # Avoid using NPM to install it until #359 is resolved
+      name: Biome JS Formatter
+      entry: biome format --write --files-ignore-unknown=true 
--no-errors-on-unmatched --colors=off
+      language: system
+      types: [javascript]
+      files: ^atr/static/js/src/.*\.js$
+
     - id: pyright
       name: Pyright Type Check
       entry: uv run pyright


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to