Skip to content

Releases: ota-meshi/eslint-plugin-jsonc

v0.7.0

18 Oct 09:36
Compare
Choose a tag to compare

⚙️ Updates

  • #23 Changed not to use ESLint internal modules

v0.6.0

09 Sep 12:40
Compare
Choose a tag to compare

✨ Enhancements

New Rules:

  • #22 Upgraded parser.
  • #22 Added jsonc/no-numeric-separators rule.

v0.5.1

17 Aug 04:43
b964f68
Compare
Choose a tag to compare

🐛 Bugfixes

  • #21 Change the base config to turn off ESLint core rules that false positives in JSON.

v0.5.0

14 Aug 22:20
a049bf5
Compare
Choose a tag to compare

⚙️ Updates

v0.4.0

14 Aug 00:51
3364f1e
Compare
Choose a tag to compare

✨ Enhancements

New Autofix:

  • #17 Added autofix to jsonc/sort-keys rule

v0.3.1

26 Jul 07:04
d7ce4f8
Compare
Choose a tag to compare

🐛 Bugfixes

  • #16 Fixed wrong end location of Program node.

v0.3.0

24 Jul 09:19
30f61e0
Compare
Choose a tag to compare

✨ Enhancements

Core:

  • #14 Added index.d.ts

v0.2.0

16 Jul 02:21
Compare
Choose a tag to compare

💥 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.

v0.1.1

12 Jul 06:57
Compare
Choose a tag to compare

🐛 Bugfixes

  • #2 Fixed parsing error with Infinity and NaN.

v0.1.0

12 Jul 02:07
Compare
Choose a tag to compare

Release 🐣