disallow the Object.entries method (es/no-object-entries)

This rule reports ES2017 Object.entries method as errors.

Examples

⛔ Examples of incorrect code for this rule:

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

📚 References

Last Updated: 8/27/2019, 11:29:02 AM