-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
61 lines (54 loc) · 1.17 KB
/
.gitattributes
File metadata and controls
61 lines (54 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Ensure consistent line endings across all platforms
* text=auto
# Explicitly declare text files
*.rs text
*.toml text
*.ts text
*.js text
*.svelte text
*.md text
*.yml text
*.yaml text
*.json text
*.sql text
*.sh text eol=lf
*.py text
# Mark generated files and build artifacts
target/ linguist-generated=true
web/build/ linguist-generated=true
web/.svelte-kit/ linguist-generated=true
web/node_modules/ linguist-generated=true
Cargo.lock linguist-generated=true
package-lock.json linguist-generated=true
# Language hints for GitHub
*.rs linguist-language=Rust
*.svelte linguist-language=Svelte
*.ts linguist-language=TypeScript
*.proto linguist-language=Protocol-Buffer
# Diff settings for specific file types
*.rs diff=rust
*.ts diff=typescript
*.md diff=markdown
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.db binary
*.sqlite binary
# Documentation
*.md linguist-documentation
docs/** linguist-documentation
# Exclude from export archives
.github/ export-ignore
.gitignore export-ignore
.gitattributes export-ignore
.pre-commit-config.yaml export-ignore