es-x/no-json-parse-reviver-context-parameter
disallow the
contextparameter inJSON.parsereviver function
- ✅ The following configurations enable this rule: no-json-parse-with-source and no-new-in-esnext
This rule reports ES2026 JSON.parse reviver context parameter as errors.
💡 Examples
⛔ Examples of incorrect code for this rule:
🚀 Version
This rule was introduced in v9.3.0.