Skip to content

Commit c24d58f

Browse files
Copilotjbampton
andauthored
Address Gemini review: expand binary file types and add types: [text] to mixed-line-ending hook
Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/bab1cbb7-e17e-4e51-9609-c117df8c5f91 Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
1 parent fc255a9 commit c24d58f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@
1111
*.jpeg binary
1212
*.gif binary
1313
*.ico binary
14+
*.webp binary
15+
*.avif binary
16+
*.pdf binary
17+
*.woff binary
18+
*.woff2 binary

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ repos:
107107
name: run mixed-line-ending
108108
description: replaces or checks mixed line ending
109109
args: [--fix=lf]
110+
types: [text]
110111

111112
- repo: https://github.com/biomejs/pre-commit
112113
rev: "v2.4.8"

0 commit comments

Comments
 (0)