Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Store and check out all text files with LF endings.
#
# Without this, core.autocrlf=true (the Windows default) hands the working
# tree CRLF, and eslint-config-google's linebreak-style rule then reports an
# error on every single line - 2352 of them across this repo. The repository
# content is already LF throughout, so this changes checkout behaviour only
# and produces no content diff.
* text=auto eol=lf

# Binary assets: never convert.
*.png binary
*.wasm binary
*.ort binary
*.zip binary
*.xpi binary