# disallow the Object.defineProperty method (es/no-object-defineproperty)

This rule reports ES5 Object.defineProperty method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-defineproperty: error */ Object.defineProperty(obj, "prop", {})
Now loading...

# 📚 References