Files
poli0981andClaude Opus 5.5 ff95578f48 fix: unblock CI — close every dependency advisory, pin actions, fix asset caching (#21)
Squashed from 8 signed commits:

- chore: normalise line endings to LF with .gitattributes
- fix(deps): refresh dependencies and close every open advisory
- style: adopt prettier-plugin-astro 1.x formatting
- fix: resolve the SonarCloud findings in scripts and issueUrl
- ci: pin actions to SHAs, fix notify/quarantine/link-check, add Dependabot config
- fix(headers): stop Cache-Control concatenation that disabled asset caching
- fix(theme): guard storage access in the pre-paint theme script
- chore(config): TS6-safe tsconfig, type-aware lint, gated build script

Each commit's full rationale is preserved on the PR (#21).
Verified on the Workers Builds preview: hashed assets now carry a single
`Cache-Control: public, max-age=31536000, immutable`, the JSON feeds a single
`max-age=300`, security.txt is utf-8, and preview hosts send noindex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 21:10:17 +07:00

19 lines
437 B
Plaintext

# Normalise line endings to LF in the repo AND the working tree, on every OS.
# Without this, Windows checkouts with core.autocrlf=true get CRLF files and
# Prettier (endOfLine: lf) fails locally while CI on Linux passes.
* text=auto eol=lf
# Binary assets — never touch.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.avif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.pdf binary