Try (again) to make GitHub's Linguist .gitattributes work (#23)

Our present Linguist configuration in `.gitattributes` doesn't seem to be having any effect, as can be seen when viewing this commit: 7159ce9615.

Historically we've employed [the style employed by tree-sitter-elixir](60863fc6e2/.gitattributes) ([here](4ef644a352)) to no avail. This new attempt combines usage of [the shorthand from tree-sitter-rust](0509e440ae/.gitattributes) with [the no-leading-slash style from Linguist's own documentation](https://github.com/github/linguist/blob/master/docs/overrides.md#generated-code). Hopefully it works this time 🤞
pull/211/head
Jonathan Arnett 2022-03-30 12:27:14 +07:00 committed by GitHub
parent 7159ce9615
commit a1fc486493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

3
.gitattributes vendored

@ -1 +1,2 @@
/src/** linguist-vendored=true
src/** linguist-generated
test/** linguist-documentation