Skip to content

Commit

Permalink
chore: switch to LF and add .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialEsco committed Feb 25, 2025
1 parent 45e2089 commit d844722
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ insert_final_newline = true

[*.{ps1, psd1, psm1}]
indent_size = 4
end_of_line = crlf
end_of_line = lf
trim_trailing_whitespace = true

[*.json]
indent_size = 2
end_of_line = crlf
end_of_line = lf
trim_trailing_whitespace = true

[*.{md, txt}]
Expand Down
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* text=lf

*.txt text eol=crlf
*.md text eol=crlf

*.ps1 text eol=lf
*.psd1 text eol=lf
*.psm1 text eol=lf

*.json text eol=lf

*.png binary
*.jpg binary

0 comments on commit d844722

Please sign in to comment.