Skip to content

jsonc/no-infinity

disallow Infinity

  • ⚙️ This rule is included in "plugin:jsonc/recommended-with-json" and "plugin:jsonc/recommended-with-jsonc".

📖 Rule Details

This rule reports the use of Infinity.

Cannot use Infinity when in JSON and JSONC.

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation