# disallow the Object.getOwnPropertyDescriptors method (es/no-object-getownpropertydescriptors)

This rule reports ES2017 Object.getOwnPropertyDescriptors method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-getownpropertydescriptors: error */ const descriptors = Object.getOwnPropertyDescriptors(obj)
Now loading...

# 📚 References