Skip to content

Commit 700f1de

Browse files
committed
chore: update configuration for GitHub language statistics
1 parent 3c7bd5e commit 700f1de

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

.gitattributes

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,23 @@
4040
*.mov binary
4141

4242
# Override what is considered "vendored" by GitHub's linguist:
43-
/deps/** linguist-vendored=false
44-
/lib/node_modules/** linguist-vendored=false linguist-generated=false
45-
test/fixtures/** linguist-vendored=false
46-
tools/** linguist-vendored=false
43+
/lib/node_modules/** -linguist-vendored -linguist-generated
4744

48-
# Override what is considered "documentation" by GitHub's linguist:
49-
examples/** linguist-documentation=false
45+
# Configure directories which should *not* be included in GitHub language statistics:
46+
/deps/** linguist-vendored
47+
/workshops/** linguist-vendored
48+
49+
benchmark/** linguist-vendored
50+
docs/* linguist-documentation
51+
etc/** linguist-vendored
52+
examples/** linguist-documentation
53+
scripts/** linguist-vendored
54+
test/** linguist-vendored
55+
tools/** linguist-vendored
56+
57+
# Configure files which should *not* be included in GitHub language statistics:
58+
Makefile linguist-vendored
59+
*.mk linguist-vendored
60+
61+
# Configure files which should be included in GitHub language statistics:
62+
docs/types/*.d.ts -linguist-documentation

0 commit comments

Comments
 (0)