From 9e0857e916632b306d047ad7324980bfa5b48fea Mon Sep 17 00:00:00 2001 From: "SNDST00M: M.U.N.I.N" <82655227+4086606@users.noreply.github.com> Date: Fri, 23 Jul 2021 02:08:39 +0100 Subject: [PATCH] Whitelist comments in all JSON files 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. --- .gitattributes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 5a817c30b6d..6065a65f70d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,4 +7,5 @@ ThirdPartyNotices.txt eol=crlf *.cmd eol=crlf *.ps1 eol=lf *.sh eol=lf -*.rtf -text \ No newline at end of file +*.rtf -text +*.json linguist-language=jsonc