Skip to content

Attempt to force files to use LF - #49

Merged
CaitlynMainer merged 1 commit into
CaitlynMainer:main-MC1.21.1from
SquidDev:squid/force-lf
Aug 11, 2026
Merged

Attempt to force files to use LF#49
CaitlynMainer merged 1 commit into
CaitlynMainer:main-MC1.21.1from
SquidDev:squid/force-lf

Conversation

@SquidDev

Copy link
Copy Markdown

We've had a couple of files accidentally get written using CRLF line endings when edited on Windows. Let's try to prevent that.

  • Add .gitattributes to prevent Git doing auto CRLF.
  • Add .editorconfig file to encourage editors to write LF.
  • Run dos2unix on the whole codebase.

 - Add .gitattributes to prevent Git doing auto CRLF.
 - Add .editorconfig file to encourage editors to write LF.
@SquidDev
SquidDev marked this pull request as ready for review August 11, 2026 12:18
@CaitlynMainer
CaitlynMainer merged commit 048225f into CaitlynMainer:main-MC1.21.1 Aug 11, 2026
1 check passed
@SquidDev
SquidDev deleted the squid/force-lf branch August 11, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants