This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitattributes
177 lines (161 loc) · 3.62 KB
/
.gitattributes
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# Most of the gitattributes added here com from a few sources, listed below.
# There are some changes, like git-lfs tracking being enabled and such, but
# overall, it's mostly just de-duplicated and stuff.
#
# Things have been "unaligned," in the sense of removing spaces and tabs
# between formats and options, and replacing them with a singular space.
# Makes it easier to automatically detect duplicates, and the alignment
# isn't really necessary.
#
# Source: https://confluence.atlassian.com/bbkb/add-commonly-used-binaries-to-git-lfs-1188409676.html
# Date: 2023-09-10T08-54
# Source: https://richienb.github.io/gitattributes-generator/
# Date: 2023-09-10T09-18
# Source: https://gitattributes.io/api/web%2Ccommon%2Cmarkdown%2Cvisualstudiocode
# Date: 2023-09-10T09-19
# VSCode: Fix syntax highlighting on GitHub to allow comments
*.code-workspace linguist-language=JSON-with-Comments
.vscode/*.json linguist-language=JSON-with-Comments
.vscode/*.jsonc linguist-language=JSON-with-Comments
# Auto detect text files and perform LF normalization
# This will handle all files NOT found below
* text=auto
# Documents
*.adoc text
## For keeping references
*.bibtex text diff=bibtex
*.csv text eol=crlf
*.epub diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.tab text
*.tex text diff=tex
*.textile text
*.tsv text
## SVG treated as text by default.
*.svg text
# Text files where line endings should be preserved
*.patch -text
# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
# Apply override to all files in the directory
*.md linguist-detectable
# Source code
.husky/* text eol=lf
*.bash text eol=lf
*.coffee text
*.css text diff=css
*.fish text eol=lf
*.htm text diff=html
*.html text diff=html
*.inc text
*.ini text
*.js text
*.json text
*.jsx text
*.less text
*.ls text
*.map text -diff
*.od text
*.onlydata text
*.php text diff=php
*.pl text
*.py text diff=python
*.rb text diff=ruby
*.sass text
*.scm text
*.scss text diff=css
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xhtml text diff=html
*.xml text
*.zsh text eol=lf
## These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Docker
Dockerfile text
# Documentation
*.ipynb text eol=lf
*.markdown text diff=markdown
*.md text diff=markdown
*.mdwn text diff=markdown
*.mdown text diff=markdown
*.mkd text diff=markdown
*.mkdn text diff=markdown
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text
# Templates
*.dot text
*.ejs text
*.erb text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.mustache text
*.njk text
*.phtml text
*.svelte text
*.tmpl text
*.tpl text
*.twig text
*.vue text
# Configs
*.cnf text
*.conf text
*.config text
.editorconfig text
.env text
.gitattributes text
.gitconfig text
.htaccess text
*.lock text -diff
package.json text eol=lf
package-lock.json text eol=lf -diff
pnpm-lock.yaml text eol=lf -diff
.prettierrc text
yarn.lock text -diff
*.toml text
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text
# Fixes syntax highlighting on GitHub to allow comments
tsconfig.json linguist-language=JSON-with-Comments
# Heroku
Procfile text
# Prevents massive diffs caused by vendored, minified files
**/.yarn/releases/** binary
**/.yarn/plugins/** binary
# RC files (like .babelrc or .eslintrc)
*.*rc text
# Ignore files (like .npmignore or .gitignore)
*.*ignore text
# Prevents massive diffs from built files
dist/* binary