mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use Unix line endings for shell scripts (#15180)
These changes fix [SC1017](https://github.com/koalaman/shellcheck/wiki/SC1017)
This commit is contained in:
@@ -21,6 +21,7 @@ indent_size = 4
|
||||
|
||||
# Shell scripts
|
||||
[*.sh]
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
|
||||
# Xml project files
|
||||
|
||||
@@ -2,5 +2,6 @@ CHANGELOG.md merge=union
|
||||
* text=auto
|
||||
*.png binary
|
||||
*.rtf binary
|
||||
*.sh text eol=lf
|
||||
testablescript.ps1 text eol=lf
|
||||
TestFileCatalog.txt text eol=lf
|
||||
|
||||
Reference in New Issue
Block a user