Skip to content

Commit e118f7e

Browse files
authored
Use Unix line endings for shell scripts (PowerShell#15180)
These changes fix [SC1017](https://github.com/koalaman/shellcheck/wiki/SC1017)
1 parent be9b14a commit e118f7e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: .editorconfig

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ indent_size = 4
2121

2222
# Shell scripts
2323
[*.sh]
24+
end_of_line = lf
2425
indent_size = 4
2526

2627
# Xml project files

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ CHANGELOG.md merge=union
22
* text=auto
33
*.png binary
44
*.rtf binary
5+
*.sh text eol=lf
56
testablescript.ps1 text eol=lf
67
TestFileCatalog.txt text eol=lf

0 commit comments

Comments
 (0)