Skip to content

Commit d01a01e

Browse files
committed
ci: exclude historical audit artifacts from prettier
The lint job started failing because prettier now reformats docs/audit/01-coverage-baseline.md, a UTF-16LE-encoded captured test log committed as a historical audit artifact (#121). The file hasn't changed since the last green run on dev, so this is hook-environment drift on the runner, not a content change. Exclude docs/audit/ from the prettier hook: these are quarantined historical artifacts and letting prettier rewrite a UTF-16 test log would corrupt it. Verified pre-commit run --all-files passes locally.
1 parent 2cab1a3 commit d01a01e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ repos:
3636
exclude: |
3737
(?x)^(
3838
.venv|
39+
docs/audit/.*|
3940
.*\.github/workflows/.*\.ya?ml$
4041
)$
4142

0 commit comments

Comments
 (0)