Skip to content

Commit 885a6fc

Browse files
committed
Set path attribute for project packages
In https://github.com/github/linguist/blob/5e2c79e9501d7cd2ecbea9afce64734dd4e4196f/lib/linguist/generated.rb#L58, files under node_modules may be considered generated according to GitHub's linguist. This commit attempts to override this setting.
1 parent d677d3a commit 885a6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Override what is considered "vendored" by GitHub's linguist:
99
/deps/** linguist-vendored=false
10-
/lib/node_modules/** linguist-vendored=false
10+
/lib/node_modules/** linguist-vendored=false linguist-generated=false
1111
test/fixtures/** linguist-vendored=false
1212
tools/** linguist-vendored=false
1313

0 commit comments

Comments
 (0)