This check exists to prevent invalid JSON files in themes.
This check is aimed at eliminating errors in JSON files.
👎 Examples of incorrect code for this check:
{
"comma": "trailing",
}
{
"quotes": 'Oops, those are single quotes'
}
👍 Examples of correct code for this check:
{
"comma": "not trailing"
}
{
"quotes": "Yes. Double quotes."
}
The default configuration for this check is the following:
ValidJson:
enabled: true
It is not safe to disable this rule.
This check has been introduced in Theme Check 0.1.0.