Releases
v0.2.0
Compare
Sorry, something went wrong.
No results found
💥 Breaking Changes
#6 Changed JSON parser
to allow static template literals.
to allow undefined identifier.
to allow empty slots in array literals.
to allow spaces after -/+ sign.
to allow number property key.
to allow regexp literal.
to allow bigint literal.
the parser only parsed files with the .json extension, but removes this restriction to allow other extensions.
Updated presets configs.
Changed plugin:jsonc/recommended-with-json, plugin:jsonc/recommended-with-jsonc and plugin:jsonc/recommended-with-json5 configs
#9 Added jsonc/no-template-literals rule.
#8 Added jsonc/no-undefined-value rule.
#13 Added jsonc/no-sparse-arrays rule.
#7 Added jsonc/space-unary-ops rule.
#10 Added jsonc/no-number-props rule.
#11 Added jsonc/no-regexp-literals rule.
#12 Added jsonc/no-bigint-literals rule.
✨ Enhancements
New Rules:
#9 Added jsonc/no-template-literals rule that disallow template literals.
#8 Added jsonc/no-undefined-value rule that disallow undefined.
#13 Added jsonc/no-sparse-arrays rule that disallows sparse array literals.
#7 Added jsonc/space-unary-ops rule that disallow spaces after unary operators.
#10 Added jsonc/no-number-props rule that disallow number property keys.
#11 Added jsonc/no-regexp-literals rule that disallow RegExp literals.
#12 Added jsonc/no-bigint-literals rule that disallow BigInt literals.
You can’t perform that action at this time.