forked from OurHike/OurHike
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
24 lines (22 loc) · 906 Bytes
/
Copy path.gitattributes
File metadata and controls
24 lines (22 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Normalize all text files to LF in the repository AND in the working tree.
#
# `eol=lf` (not just `text=auto`) is load-bearing on Windows: with git's
# core.autocrlf=true, `text=auto` alone stores LF but checks CRLF out, and
# Prettier - whose `endOfLine` default is "lf" - then reports every freshly
# checked-out file as unformatted. That makes `npm run format:check` fail
# locally while passing in CI, which is exactly the kind of it-works-on-CI
# split that hides real failures. Nothing in this repo is a Windows-native
# script (no .bat/.cmd/.ps1), so LF everywhere is safe.
* text=auto eol=lf
# Images are binary - never munge their bytes.
*.png binary
*.jpg binary
*.ico binary
*.woff binary
*.woff2 binary
# Large geospatial artifacts are binary too (these are gitignored today, but
# declare it so an accidental add can't corrupt one).
*.pmtiles binary
*.fgb binary
*.tif binary
*.tiff binary