/ .gitattributes
.gitattributes
 1  # SPDX-License-Identifier: AGPL-3.0-or-later
 2  # RSR-compliant .gitattributes
 3  
 4  * text=auto eol=lf
 5  
 6  # Source
 7  *.rs    text eol=lf diff=rust
 8  *.ex    text eol=lf diff=elixir
 9  *.exs   text eol=lf diff=elixir
10  *.jl    text eol=lf
11  *.res   text eol=lf
12  *.resi  text eol=lf
13  *.ada   text eol=lf diff=ada
14  *.adb   text eol=lf diff=ada
15  *.ads   text eol=lf diff=ada
16  *.hs    text eol=lf
17  *.chpl  text eol=lf
18  *.scm   text eol=lf
19  *.ncl   text eol=lf
20  *.nix   text eol=lf
21  
22  # Docs
23  *.md    text eol=lf diff=markdown
24  *.adoc  text eol=lf
25  *.txt   text eol=lf
26  
27  # Data
28  *.json  text eol=lf
29  *.yaml  text eol=lf
30  *.yml   text eol=lf
31  *.toml  text eol=lf
32  
33  # Config
34  .gitignore     text eol=lf
35  .gitattributes text eol=lf
36  justfile       text eol=lf
37  Makefile       text eol=lf
38  Containerfile  text eol=lf
39  
40  # Scripts
41  *.sh   text eol=lf
42  
43  # Binary
44  *.png   binary
45  *.jpg   binary
46  *.gif   binary
47  *.pdf   binary
48  *.woff2 binary
49  *.zip   binary
50  *.gz    binary
51  
52  # Lock files
53  Cargo.lock  text eol=lf -diff
54  flake.lock  text eol=lf -diff