es/no-accessor-properties
disallow accessor properties
- ✅ The following configurations enable this rule:
plugin:es/no-new-in-es5
and plugin:es/restrict-to-es3
This rule reports ES5 accessor properties as errors.
Examples
⛔ Examples of incorrect code for this rule:
📚 References