From d87ff040798125c16fe4c6d26fe6fa4e02f1fbce Mon Sep 17 00:00:00 2001 From: will Farrell Date: Sat, 18 Apr 2026 08:40:32 -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 f489dd4..5f3dcbe 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,12 @@ "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:test-staged": "which node", "lint": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", "test": "npm run test:lint && npm run test:unit && npm run test:types && npm run test:sast && npm run test:perf && npm run test:dast", - "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 --test --test-concurrency 1 --experimental-test-coverage --test-coverage-lines=98 --test-coverage-branches=95 --test-coverage-functions=97 --test-coverage-exclude=**/mock.js --test-coverage-exclude=**/*.test.js --test-coverage-exclude=**/table/*", "test:sast": "npm run test:sast:license && npm run test:sast:lockfile && npm run test:sast:trivy && npm run test:sast:semgrep && npm run test:sast:trufflehog", "test:sast:license": "license-check-and-add check -f license.json", From b1468ba95fc11660e250ef8bbdd5f926e8a5d1d4 Mon Sep 17 00:00:00 2001 From: will Farrell Date: Sat, 18 Apr 2026 12:57:37 -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 5f3dcbe..3e15c9d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "git:test-staged": "which node", "lint": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", "test": "npm run test:lint && npm run test:unit && npm run test:types && npm run test:sast && npm run test:perf && npm run test:dast", - "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 --test --test-concurrency 1 --experimental-test-coverage --test-coverage-lines=98 --test-coverage-branches=95 --test-coverage-functions=97 --test-coverage-exclude=**/mock.js --test-coverage-exclude=**/*.test.js --test-coverage-exclude=**/table/*", "test:sast": "npm run test:sast:license && npm run test:sast:lockfile && npm run test:sast:trivy && npm run test:sast:semgrep && npm run test:sast:trufflehog",