no-proto
Configuration
rslint.config.ts
Rule Details
Disallow the use of the __proto__ property.
When an object is created with the new operator, __proto__ is set to the original "prototype" property of the object's constructor function. Object.getPrototypeOf is the preferred method of getting the object's prototype. To change an object's prototype, use Object.setPrototypeOf.
Examples of incorrect code for this rule:
Examples of correct code for this rule: