Skip to content

Commit

Permalink
Update .gitattributes for generated JavaScript [ci-skip]
Browse files Browse the repository at this point in the history
This adds `linguist-generated` and `linguist-vendored` attributes where
appropriate to suppress the files in diffs and exclude the files from
the project's language stats on GitHub.

See https://github.com/github/linguist for more information.
  • Loading branch information
jonathanhefner committed Nov 5, 2023
1 parent 3764d7b commit 4dcd6ba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actioncable/app/assets/javascripts/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
actioncable.js linguist-generated
actioncable.esm.js linguist-generated
action_cable.js linguist-generated
2 changes: 2 additions & 0 deletions actiontext/app/assets/javascripts/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
actiontext.js linguist-generated
trix.js linguist-vendored
2 changes: 2 additions & 0 deletions actionview/app/assets/javascripts/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rails-ujs.js linguist-generated
rails-ujs.esm.js linguist-generated
1 change: 1 addition & 0 deletions activestorage/app/assets/javascripts/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
activestorage.js linguist-generated
activestorage.esm.js linguist-generated

0 comments on commit 4dcd6ba

Please sign in to comment.