File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77# Set default behaviour to automatically normalize line endings.
88* text =auto
99
10+ # Force .NET source files to always use CRLF line endings to match the
11+ # end_of_line = crlf setting in .editorconfig. Without this, text=auto checks
12+ # these files out with LF on Linux/macOS, which makes the IDE0055 formatting
13+ # analyzer fail on every line on non-Windows checkouts (e.g. CI). Forcing CRLF
14+ # here keeps the working tree consistent with .editorconfig on every platform.
15+ * .cs text eol =crlf
16+ * .csx text eol =crlf
17+ * .cake text eol =crlf
18+ * .fs text eol =crlf
19+ * .fsx text eol =crlf
20+ * .vb text eol =crlf
21+ * .vbx text eol =crlf
22+
1023# Force batch scripts to always use CRLF line endings so that if a repo is accessed
1124# in Windows via a file share from Linux, the scripts will work.
1225* .{cmd, [cC ][mM ][dD ]} text eol =crlf
You can’t perform that action at this time.
0 commit comments