Commit b845f93
Enforce LF line endings to fix yamllint CRLF failures on Windows (#469)
* Initial plan
* Fix yamllint failure on Windows by enforcing LF line endings
- Add .gitattributes to enforce LF line endings globally and explicitly for YAML files
- Update mixed-line-ending pre-commit hook with --fix=lf to auto-convert CRLF to LF
Agent-Logs-Url: https://github.com/NextCommunity/NextCommunity.github.io/sessions/fc11f167-090e-4ef0-ae2b-ec48c570f076
Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
* 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>
* Update .pre-commit-config.yaml
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbampton <418747+jbampton@users.noreply.github.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>1 parent 0fe1add commit b845f93
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
0 commit comments