Skip to content

Commit 41e1123

Browse files
authored
Linguist source files (#7459)
* Update .gitattributes to refine linguist settings for documentation and vendor files * Add space.
1 parent 585ab23 commit 41e1123

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,16 @@
88
# want to preserve the line endings robustly
99
inst/tests/** -text
1010
inst/tests/*.Rraw text eol=lf linguist-language=R
11+
# Ensure GitHub linguist only considers source code files
12+
# for language statistics
13+
docs/** linguist-documentation
14+
man/** linguist-documentation
15+
tests/** linguist-vendored
16+
vignettes/** linguist-vendored
17+
po/** linguist-vendored
18+
.github/** linguist-vendored
19+
.ci/** linguist-vendored
20+
.dev/** linguist-vendored
21+
.devcontainer/** linguist-vendored
22+
.graphics/** linguist-vendored
23+
.Rproj.user/** linguist-vendored

0 commit comments

Comments
 (0)