Skip to content

jsonc/valid-json-number

disallow invalid number for JSON

  • ⚙️ This rule is included in "plugin:jsonc/recommended-with-json" and "plugin:jsonc/recommended-with-jsonc".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule reports numbers that cannot be parsed with JSON.

Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-jsonc v0.1.0

🔍 Implementation