-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy path.gitattributes
More file actions
21 lines (16 loc) · 933 Bytes
/
Copy path.gitattributes
File metadata and controls
21 lines (16 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Make everything in the e2e-tests/snapshots directory use LF line endings.
# Otherwise we'll get diffs in the snapshots when running on Windows.
e2e-tests/snapshots/** text eol=lf
src/prompts/guides/** text eol=lf
# Guide markdown files are loaded as raw strings and tested with literal \n.
# Force LF so the tests pass on Windows.
src/prompts/guides/*.md text eol=lf
# Guide markdown files are imported as raw strings in tests; keep LF so
# string-literal assertions are not broken by Windows CRLF checkout.
src/prompts/guides/*.md text eol=lf
# we do NOT want github to automatically collapse the diff because
# we should review package-lock.json for security-sensitive changes.
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
package-lock.json -linguist-generated