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 9814e59  Add JS lints
9814e59 is described below

commit 9814e595063168e67c651f699fcd83a8485e577d
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Dec 10 19:09:11 2025 +0000

    Add JS lints
---
 .pre-commit-heavy.yaml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/.pre-commit-heavy.yaml b/.pre-commit-heavy.yaml
index 38c7677..5d0ad8b 100644
--- a/.pre-commit-heavy.yaml
+++ b/.pre-commit-heavy.yaml
@@ -1,5 +1,27 @@
 exclude: ^node_modules/
 repos:
+- repo: local
+  hooks:
+    - id: biome-check
+      name: biome (no-npm) check
+      entry: biome check --write --files-ignore-unknown=true 
--no-errors-on-unmatched --colors=off
+      language: system
+      types: [javascript]
+      files: ^atr/static/js/.*\.js$
+      exclude: (.*\.min\.js$|.*\.ts\.js$)
+- repo: https://github.com/oxc-project/mirrors-oxlint
+  rev: v1.32.0
+  hooks:
+    - id: oxlint
+      name: oxlint JS linter
+      types: [javascript]
+      files: "atr/static/js/.*\\.js$"
+      exclude: (.*\.min\.js$|.*\.ts\.js$)
+      args:
+        - --deny=correctness
+        - --deny=perf
+        - --warn=suspicious
+        - --warn=pedantic
 - repo: https://github.com/oxipng/oxipng
   rev: v9.1.5
   hooks:
@@ -15,12 +37,14 @@ repos:
     - id: semgrep
       args:
         - --config=p/ci
+        - --config=p/clientside-js
         - --config=p/command-injection
         - --config=p/cwe-top-25
         - --config=p/docker-compose
         - --config=p/dockerfile
         - --config=p/flask
         - --config=p/github-actions
+        - --config=p/javascript
         - --config=p/jwt
         - --config=p/owasp-top-ten
         - --config=p/python


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

Reply via email to