mirror of
https://github.com/tiennm99/bsk.git
synced 2026-08-05 22:23:50 +00:00
CI has been red on every push: the workflow runs `pnpm format:check`, which I never included in local validation (I only gated typecheck/lint/build), so 54 files were committed unformatted. - ran `pnpm format` — all changes are Prettier line-reflow, no logic touched (verified: `git diff -w` flags exactly the same 54 files CI reported) - added .gitattributes (`* text=auto eol=lf` + binary rules for fonts/images): with core.autocrlf and no attributes file, `format:check` counted 141 files locally vs 54 in CI, which is what let this slip through All six CI gates now pass locally in workflow order: secret-leak, format:check, test (97), lint, typecheck, build.
17 lines
420 B
Plaintext
17 lines
420 B
Plaintext
# Normalize line endings so Prettier's `endOfLine: "lf"` check agrees between
|
|
# Windows working copies and Linux CI. Without this (and with core.autocrlf),
|
|
# `pnpm format:check` reports different file counts locally vs in CI.
|
|
* text=auto eol=lf
|
|
|
|
# Binary assets — never touch these.
|
|
*.ttf binary
|
|
*.woff binary
|
|
*.woff2 binary
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.pdf binary
|
|
*.xlsx binary
|