-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
140 lines (113 loc) · 2.91 KB
/
Copy path.gitattributes
File metadata and controls
140 lines (113 loc) · 2.91 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# ============================================
# PayVault - Git Attributes
# ============================================
# This file ensures consistent line endings and encoding across platforms
# ============================================
# LINE ENDINGS
# ============================================
# Set default behavior to automatically handle line endings
* text=auto
# Explicitly declare files that should always use CRLF (Windows)
*.bat text eol=crlf
*.cmd text eol=crlf
# Unix shell scripts should use LF
*.sh text eol=lf
# ============================================
# SOURCE CODE
# ============================================
# Rust source files
*.rs text diff=rust
# TypeScript/JavaScript
*.ts text
*.tsx text
*.js text
*.jsx text
# Web files
*.html text
*.css text
*.scss text
*.json text
# Markdown
*.md text
# Configuration files
*.toml text
*.yaml text
*.yml text
*.xml text
# SQL files
*.sql text
# ============================================
# BINARY FILES
# ============================================
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.svg text
# Fonts
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
# Compiled files
*.o binary
*.a binary
*.so binary
*.dylib binary
*.dll binary
*.exe binary
*.pdb binary
# Archives
*.zip binary
*.tar binary
*.gz binary
# ============================================
# EXPORT OPTIONS
# ============================================
# Don't export certain files when using git archive
.gitignore export-ignore
.gitattributes export-ignore
.env.example export-ignore
docs/ export-ignore
scripts/ export-ignore
.qoder/ export-ignore
.qodo/ export-ignore
# ============================================
# DIFF OPTIONS
# ============================================
# Use word diff for markdown files
*.md diff=word
# ============================================
# MERGE STRATEGIES
# ============================================
# Use union merge for Cargo.lock (safe for dependency lists)
# Cargo.lock merge=union
# ============================================
# ENCODING
# ============================================
# Ensure UTF-8 encoding for all text files
*.rs working-tree-encoding=UTF-8
*.ts working-tree-encoding=UTF-8
*.tsx working-tree-encoding=UTF-8
*.js working-tree-encoding=UTF-8
*.jsx working-tree-encoding=UTF-8
*.html working-tree-encoding=UTF-8
*.css working-tree-encoding=UTF-8
*.json working-tree-encoding=UTF-8
*.md working-tree-encoding=UTF-8
*.toml working-tree-encoding=UTF-8
*.yaml working-tree-encoding=UTF-8
*.yml working-tree-encoding=UTF-8
*.sql working-tree-encoding=UTF-8
# ============================================
# LANGUAGE DETECTION
# ============================================
# Help GitHub recognize the project languages
*.rs linguist-language=Rust
*.tsx linguist-language=TypeScript
*.ts linguist-language=TypeScript
*.sql linguist-language=SQL
# ============================================