Skip to content

jsonc/no-nan

disallow NaN

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

📖 Rule Details

This rule reports the use of NaN.

Cannot use NaN when in JSON and JSONC.

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation