Skip to content

Commit

Permalink
added correct file handling for shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau committed Jan 10, 2024
1 parent 003b011 commit cdf04d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.sh]
end_of_line = lf


[*.{md,yml,yaml}]
trim_trailing_whitespace = false

Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CHANGELOG.md merge=union
* text=auto

# Explicitly declare text files we want to always be normalized.
*.sh text eol=lf
*.md text eol=crlf
*.gitattributes text eol=crlf
*.gitignore text eol=crlf
Expand Down
1 change: 1 addition & 0 deletions .vscode/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json linguist-language=JSON-with-Comments

0 comments on commit cdf04d4

Please sign in to comment.