From 1280efb58705b226295885eab76f0042da5d6f2e Mon Sep 17 00:00:00 2001 From: will Farrell Date: Sat, 18 Apr 2026 08:40:57 -0600 Subject: [PATCH 1/2] fix: add test:lint:staged script and fix test:lint to check entire codebase --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bea492f..cacf99e 100644 --- a/package.json +++ b/package.json @@ -212,7 +212,7 @@ "prepare": "husky", "git:pre-commit": "npm run git:lint-staged && npm run git:test-staged", "git:commit-msg": "commitlint --config commitlint.config.cjs --edit", - "git:lint-staged": "npm run test:lint", + "git:lint-staged": "npm run test:lint:staged", "git:unit-staged": "npm run test:unit", "git:test-staged": "npm run git:unit-staged", "lint": "biome check --write --no-errors-on-unmatched", @@ -223,7 +223,8 @@ "test:sast:semgrep": "semgrep scan --config auto", "test:sast:trivy": "trivy fs --scanners vuln,license --include-dev-deps --ignored-licenses 0BSD,Apache-2.0,BSD-1-Clause,BSD-2-Clause,BSD-3-Clause,CC0-1.0,CC-BY-4.0,ISC,MIT,Python-2.0 --exit-code 1 --disable-telemetry .", "test:sast:trufflehog": "trufflehog filesystem --only-verified --log-level=-1 ./", - "test:lint": "biome check --staged --no-errors-on-unmatched", + "test:lint": "biome check --no-errors-on-unmatched", + "test:lint:staged": "biome check --staged --no-errors-on-unmatched", "test:unit": "node --experimental-test-module-mocks --test --test-force-exit --experimental-test-coverage --test-coverage-lines=95 --test-coverage-branches=90 --test-coverage-functions=95 --test-coverage-exclude=certificates/** --test-coverage-exclude=bin/** --test-coverage-exclude=**/*.cjs --test-coverage-exclude=**/*.mjs", "test:types": "tstyche", "test:perf": "node --test --test-concurrency=1 ./**/*.perf.js", From 3eacd151d20fd370353a77c85ecfa9aaaf3bd2b8 Mon Sep 17 00:00:00 2001 From: will Farrell Date: Sat, 18 Apr 2026 12:57:45 -0600 Subject: [PATCH 2/2] fix: use 'biome ci' instead of 'biome check' for test:lint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cacf99e..d957485 100644 --- a/package.json +++ b/package.json @@ -223,7 +223,7 @@ "test:sast:semgrep": "semgrep scan --config auto", "test:sast:trivy": "trivy fs --scanners vuln,license --include-dev-deps --ignored-licenses 0BSD,Apache-2.0,BSD-1-Clause,BSD-2-Clause,BSD-3-Clause,CC0-1.0,CC-BY-4.0,ISC,MIT,Python-2.0 --exit-code 1 --disable-telemetry .", "test:sast:trufflehog": "trufflehog filesystem --only-verified --log-level=-1 ./", - "test:lint": "biome check --no-errors-on-unmatched", + "test:lint": "biome ci --no-errors-on-unmatched", "test:lint:staged": "biome check --staged --no-errors-on-unmatched", "test:unit": "node --experimental-test-module-mocks --test --test-force-exit --experimental-test-coverage --test-coverage-lines=95 --test-coverage-branches=90 --test-coverage-functions=95 --test-coverage-exclude=certificates/** --test-coverage-exclude=bin/** --test-coverage-exclude=**/*.cjs --test-coverage-exclude=**/*.mjs", "test:types": "tstyche",