Commit 17c53ef
RandomCrocodile
chore: pin .cs line endings to LF for deterministic formatting
dotnet format has no end_of_line setting in .editorconfig, so it fell
back to the OS default (CRLF on Windows, LF on Linux). Combined with
.gitattributes '*.cs text' (native eol on checkout), local 'dotnet
format --verify' results depended on each contributor's core.autocrlf,
producing spurious whitespace failures on autocrlf=input machines while
CI (Windows, autocrlf=true) stayed green.
Pin .cs to LF in both .editorconfig (end_of_line = lf) and .gitattributes
(*.cs text eol=lf) so formatting is deterministic on every platform.
Blobs are already LF, so this is a no-op for file content.1 parent 495ee4c commit 17c53ef
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments