es-x/no-nonstandard-intl-numberformat-properties
disallow non-standard static properties on
Intl.NumberFormat
class
This rule reports non-standard static properties on Intl.NumberFormat
class as errors.
💡 Examples
⛔ Examples of incorrect code for this rule:
🔧 Options
This rule has an option.
jsonc
{
"rules": {
"es-x/no-nonstandard-intl-numberformat-properties": [
"error",
{
"allow": []
}
]
}
}
allow: string[]
An array of non-standard property names to allow.
🚀 Version
This rule was introduced in v8.2.0.