# .gitattributes # # Optimize Gitea performance by excluding generated and vendored files # from language statistics and indexing. # # See: https://github.com/github/linguist/blob/master/docs/overrides.md # ============================================================================= # Vendored Dependencies # ============================================================================= node_modules/** linguist-vendored # ============================================================================= # Generated Files - Coverage Reports # ============================================================================= coverage/** linguist-generated .coverage/** linguist-generated public/coverage/** linguist-generated .nyc_output/** linguist-generated # ============================================================================= # Generated Files - Build Artifacts # ============================================================================= dist/** linguist-generated build/** linguist-generated # ============================================================================= # Generated Files - Test Results # ============================================================================= test-results/** linguist-generated playwright-report/** linguist-generated playwright-report-visual/** linguist-generated .vitest-results/** linguist-generated # ============================================================================= # Generated Files - TSOA OpenAPI Spec & Routes # ============================================================================= src/routes/routes.ts linguist-generated public/swagger.json linguist-generated # ============================================================================= # Documentation Files # ============================================================================= *.md linguist-documentation # ============================================================================= # Line Ending Normalization # ============================================================================= # Ensure consistent line endings across platforms * text=auto # Shell scripts should always use LF *.sh text eol=lf # Windows batch files should use CRLF *.bat text eol=crlf *.cmd text eol=crlf # SQL files should use LF *.sql text eol=lf # Configuration files *.json text *.yml text *.yaml text *.toml text *.ini text # Source code *.ts text *.tsx text *.js text *.jsx text *.cjs text *.mjs text *.css text *.scss text *.html text # ============================================================================= # Binary Files (explicit binary to prevent corruption) # ============================================================================= *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary *.woff binary *.woff2 binary *.ttf binary *.eot binary *.otf binary