Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: normalize line endings
_This change is similar to Incendo/cloud#786
  • Loading branch information
Djaytan authored and jpenilla committed Jul 11, 2025
commit 96d96ccc01775c38be7fe7f2614c23117b0bc3d9
12 changes: 11 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# EditorConfig: https://editorconfig.org/

# Top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
indent_size = 4
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
max_line_length = off
trim_trailing_whitespace = true

# Avoid Markdown new lines removal
[*.md]
trim_trailing_whitespace = false
13 changes: 6 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf
# Documentation: https://www.git-scm.com/docs/gitattributes

# These are Windows script files and should use crlf
*.bat text eol=crlf
# Set default behavior to automatically normalize line endings.
* text=auto eol=lf

# Enforce CRLF line endings in Windows batch scripts to avoid issues.
*.cmd text eol=crlf
*.bat text eol=crlf