Closed sylee957 closed 7 months ago
Technically, I figured out the reason why we are getting 'red' for comments,
It is because the grammar of json https://www.json.org/json-en.html does not allow any comments, however, this is not an issue with most of the JSON parsers out there.
json
https://github.com/sympy/sympy_benchmarks/blob/eec71049a6020cc25a486535c44da2982ca92eb5/asv.conf.json#L16-L32
It is possible to fix this in .gitattributes
.gitattributes
*.json linguist-language=jsonc
Technically, I figured out the reason why we are getting 'red' for comments,
It is because the grammar of
json
https://www.json.org/json-en.html does not allow any comments, however, this is not an issue with most of the JSON parsers out there.https://github.com/sympy/sympy_benchmarks/blob/eec71049a6020cc25a486535c44da2982ca92eb5/asv.conf.json#L16-L32
It is possible to fix this in
.gitattributes