Skip to content

es-x/no-object-defineproperty

disallow the Object.defineProperty method

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