-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitattributes
More file actions
24 lines (22 loc) · 945 Bytes
/
Copy path.gitattributes
File metadata and controls
24 lines (22 loc) · 945 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
# Line-ending policy: the engine repo is LF-only for source and docs.
#
# Windows editors and tooling readily flip files to CRLF; pinning eol=lf makes
# that impossible to commit accidentally, so history stays byte-stable across
# platforms. HEAD is already uniformly LF, so this is enforcement going forward,
# not a mass rewrite.
* text=auto
*.go text eol=lf
*.md text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.txt text eol=lf
*.sh text eol=lf
# The test mirror of the rules repo must stay byte-for-byte comparable to
# trustabl-rules (which is LF) so its diff shows only real content drift, not
# CRLF/LF noise. Covered by the rules above but kept explicit as documentation
# of why LF matters here specifically.
testdata/rules-fixture/**/*.yaml text eol=lf
testdata/rules-fixture/**/*.md text eol=lf
testdata/rules-fixture/manifest.yaml text eol=lf
internal/sarif/testdata/*.sarif.json text eol=lf