Skip to content

es-x/no-intl-getcanonicallocales

disallow the Intl.getCanonicalLocales method

This rule reports ES2016 Intl API Intl.getCanonicalLocales method as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v6.0.0.

📚 References