summaryrefslogtreecommitdiffstats
path: root/.gitattributes
blob: c0ec5b758cf0d20afe6199296ccc59c0308e92ce (plain)
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
# Defining attributes per path.
#
# For more see: https://git-scm.com/docs/gitattributes

# Auto-detect text files, ensure they use LF.
* text=auto eol=lf

#
# Ignore path for Linguist.
#

exampleSite/**    linguist-vendored
resources/_gen/** linguist-generated

#
# Setting up Linguist
#

.ecrc             linguist-language=JSON
*.md              linguist-documentation=true
*.webmanifest     linguist-language=JSON

/layouts/index.json        linguist-language=HTML
/layouts/_default/list.*.* linguist-language=HTML
/layouts/_default/home.*.* linguist-language=HTML

#
# Configuration and some text files.
#

.ecrc           diff=json
*.webmanifest   diff=json

#
# Exclude files from exporting
# (used by the "download ZIP archive" option, for example).
#

/.github           export-ignore
.ecrc              export-ignore
.gitattributes     export-ignore
.gitignore         export-ignore
eslint.config.js   export-ignore
netlify-preview.js export-ignore
netlify.toml       export-ignore