Replies: 1 comment 2 replies
-
I think there's a bit of confusion/misunderstanding. JSON doesn't support comments or trailing commas. Although, some tools such as VSCode are tolerant and allow comments and trailing comma in some of its files. It parses those JSON files as they were JSONC files In an attempt to meet the community halfway, we added those settings. In your case, if you want to be tolerant about trailing commas and comments only for a specific set of files, you need to use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This setting will apply to all json files including files that does not support comments or trailing commas.
Those are features in jsonc/json5 and there should be a way so keep the two (three) kinds separated.
Each of them needs to support their own
include
andignore
field.Beta Was this translation helpful? Give feedback.
All reactions