-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
141 lines (116 loc) · 3.66 KB
/
.gitattributes
File metadata and controls
141 lines (116 loc) · 3.66 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
141
# ==============================================================================
# Line Endings - Normalize line endings for consistent cross-platform development
# ==============================================================================
* text=auto eol=lf
# Source code
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
# Scripts
*.sh text eol=lf
*.bash text eol=lf
# SQL
*.sql text eol=lf
# Documentation
*.md text eol=lf
*.txt text eol=lf
# Config files
.gitignore text eol=lf
.gitattributes text eol=lf
tsconfig*.json text eol=lf
package*.json text eol=lf
# ==============================================================================
# GitHub Linguist - Language detection and repository display
# ==============================================================================
# Mark TypeScript as the primary language
*.ts linguist-language=TypeScript
*.tsx linguist-language=TypeScript
# Exclude generated files from language statistics
coverage/** linguist-generated
build/** linguist-generated
dist/** linguist-generated
admin-ui/build/** linguist-generated
*.min.js linguist-generated
*.min.css linguist-generated
package-lock.json linguist-generated
*.map linguist-generated
# Exclude vendor/dependency files
node_modules/** linguist-vendored
**/node_modules/** linguist-vendored
# Exclude documentation and markdown from language stats
*.md linguist-documentation
docs/** linguist-documentation
LICENSE linguist-documentation
CHANGELOG.md linguist-documentation
CONTRIBUTING.md linguist-documentation
README.md linguist-documentation
# Exclude test files from language stats (keep them visible but not primary)
**/__tests__/** linguist-detectable=false
**/*.test.ts linguist-detectable=false
**/*.test.tsx linguist-detectable=false
**/*.spec.ts linguist-detectable=false
**/tests/** linguist-detectable=false
test-files-to-copy/** linguist-vendored
# Exclude config/meta files
*.config.js linguist-language=JSON
jest.config.json linguist-language=JSON
tsconfig.json linguist-language=JSON
tsconfig.build.json linguist-language=JSON
# Exclude logs and temporary files
logs/** linguist-generated
*.log linguist-generated
server.log linguist-generated
# Exclude benchmark and script files from main stats
benchmarks/** linguist-detectable=false
scripts/** linguist-detectable=false
# ==============================================================================
# Git Diff Settings - Better diff display for specific file types
# ==============================================================================
# TypeScript/JavaScript
*.ts diff=typescript
*.tsx diff=typescript
*.js diff=javascript
*.jsx diff=javascript
# JSON - Use built-in JSON diff
*.json diff=json
# SQL
*.sql diff=sql
# Markdown - Use built-in markdown diff
*.md diff=markdown
# ==============================================================================
# Binary Files - Prevent diff attempts on binary files
# ==============================================================================
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
# Archives
*.zip binary
*.tar binary
*.gz binary
*.tgz binary
# Fonts
*.woff binary
*.woff2 binary
*.eot binary
*.ttf binary
*.otf binary
# ==============================================================================
# Export-ignore - Files excluded from git archive
# ==============================================================================
.gitignore export-ignore
.gitattributes export-ignore
.github/ export-ignore
.vscode/ export-ignore
coverage/ export-ignore
**/__tests__/ export-ignore
*.test.ts export-ignore
*.test.tsx export-ignore
*.spec.ts export-ignore