Skip to content
Merged
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
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ root = true
# Defaults
[*]
charset = utf-8
end_of_line = crlf
indent_size = 4
indent_style = space
insert_final_newline = true
Expand Down Expand Up @@ -44,6 +45,10 @@ end_of_line = crlf
[*.sh]
end_of_line = lf

# Husky git hook is an extensionless shell script - LF like other scripts (matches the .gitattributes pin)
[.husky/pre-commit]
end_of_line = lf

# Dockerfiles - CRLF breaks RUN heredocs and line continuations
[{Dockerfile,*.Dockerfile}]
end_of_line = lf
Expand All @@ -52,6 +57,13 @@ end_of_line = lf
[*.{cmd,bat,ps1}]
end_of_line = crlf

# Downloaded language data - preserve the source bytes exactly; enforce no editor normalization
[LanguageData/*]
charset = unset
end_of_line = unset
insert_final_newline = false
trim_trailing_whitespace = false

# --- .NET-only below: C# and ReSharper style. Everything above is line-ending governance. ---

# C# files
Expand Down