mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-24 06:19:37 +00:00
Prevent GitHub from displaying comments within JSON files as errors (#7043)
This PR adds a `.gitattributes` rule to prevent GitHub from displaying comments within JSON files as errors. We have a number of JSON files (e.g., settings) that make use of comments, and having a bunch of red in a diff is annoying. Release Notes: - N/A
This commit is contained in:
parent
31e9526544
commit
9f9bef4175
1 changed files with 2 additions and 0 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Prevent GitHub from displaying comments within JSON files as errors.
|
||||||
|
*.json linguist-language=JSON-with-Comments
|
Loading…
Reference in a new issue