Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 822 Bytes

terNoProtoRule.md

File metadata and controls

22 lines (17 loc) · 822 Bytes

ter-no-proto (ESLint: no-proto)

rule_source test_source

disallow the use of __proto__ property

Rationale

__proto__ property has been deprecated as of ECMAScript 3.1 and shouldn’t be used in the code. Use getPrototypeOf method instead.

Config

Examples

"ter-no-proto": true

Schema

{}