Skip to content

Add .gitattributes and .editorconfig for LF line endings#2

Merged
waynebrantley merged 1 commit intomainfrom
fix/enforce-lf-line-endings
Feb 1, 2026
Merged

Add .gitattributes and .editorconfig for LF line endings#2
waynebrantley merged 1 commit intomainfrom
fix/enforce-lf-line-endings

Conversation

@waynebrantley
Copy link
Copy Markdown
Owner

Summary

  • Add .gitattributes to enforce LF line endings for all text files
  • Add .editorconfig for consistent coding style across editors
  • Fix existing files that had CRLF line endings (which was causing test failures)

Test plan

  • All tests passing (55 tests)
  • Line ending issues resolved
  • Files follow LF standard on Unix systems

Details

This PR fixes the test failures that were occurring due to CRLF (Windows-style) line endings in .mjs files. The test suite now passes all 55 tests.

Going forward, .gitattributes and .editorconfig will ensure that:

  • All text files use LF line endings regardless of developer OS
  • Consistent indentation and formatting across the codebase
  • No more line ending-related syntax errors

Closes #N/A (preemptive fix)

- Enforce LF line endings for all text files
- Fix CRLF to LF conversion in existing .mjs files
- Configure EditorConfig for consistent coding style
@waynebrantley waynebrantley merged commit fc44152 into main Feb 1, 2026
1 check passed
@waynebrantley waynebrantley deleted the fix/enforce-lf-line-endings branch February 1, 2026 18:42
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.

1 participant