Skip to content

jsonc/no-hexadecimal-numeric-literals

disallow hexadecimal numeric literals

  • ⚙️ 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 disallow hexadecimal numeric literals.

Cannot use hexadecimal numeric literals when in JSON and JSONC.

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation