Skip to content

Commit

Permalink
Add .gitattributes, unify eol/encoding
Browse files Browse the repository at this point in the history
• Ensure generated content uses `\n` eol
  • Loading branch information
Repiteo committed Jun 15, 2024
1 parent 998dac1 commit 92ff3c1
Show file tree
Hide file tree
Showing 15 changed files with 596 additions and 585 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ indent_size = 2
indent_style = space
indent_size = 4

[*.{sln,csproj}]
end_of_line = crlf
charset = utf-8-bom

[*.sln]
indent_style = tab

Expand Down
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Normalize EOL for all files that Git considers text files
* text=auto eol=lf

# Except files specific to Visual Studio
*.sln eol=crlf
*.csproj eol=crlf
Loading

0 comments on commit 92ff3c1

Please sign in to comment.