Skip to content

es-x/no-global-this

disallow the globalThis variable

This rule reports ES2020 globalThis variable as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-es v3.0.0.

📚 References