何时不使用

如果您的代码仅使用硬编码键接触对象,您可能希望关闭此规则,并且您永远不会使用隐藏 Object.prototype 方法或不继承自 Object.prototype 的对象。

You may want to turn this rule off if your code only touches objects with hardcoded keys, and you will never use an object that shadows an Object.prototype method or which does not inherit from Object.prototype.