disallow super property accesses in object literals (es/no-object-super-properties)

This rule reports ES2015 super property accesses in object literals as errors.

Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-super-properties: error */ let a = { __proto__: obj, f1() { super.a }, f2() { super.f() } }
Now loading...

📚 References

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