Skip to content

Commit

Permalink
fix(dev): Avoid checking out CRLF in shell scripts (#6484)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanwest authored Jan 9, 2025
1 parent b9243ba commit b8cd6d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# The "shellcheck" pre-commit hook requires shell scripts to end lines with LF
# regardless of git's "core.autocrlf" setting.
*.sh text eol=lf

0 comments on commit b8cd6d8

Please sign in to comment.