Skip to content

es-x/no-object-getownpropertynames

disallow the Object.getOwnPropertyNames method

This rule reports ES5 Object.getOwnPropertyNames method 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