Skip to content

Commit

Permalink
Whitelist comments in all JSON files
Browse files Browse the repository at this point in the history
Currently many files contain comments but are being matched as JSON incorrectly.
To fix this, let's associate `*.json` with JSONC and fix the false positive error highlights.
  • Loading branch information
SNDST00M: M.U.N.I.N authored Jul 23, 2021
1 parent 847a6d8 commit 9e0857e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ ThirdPartyNotices.txt eol=crlf
*.cmd eol=crlf
*.ps1 eol=lf
*.sh eol=lf
*.rtf -text
*.rtf -text
*.json linguist-language=jsonc

0 comments on commit 9e0857e

Please sign in to comment.