---
schema_version: "1"
id: b04e89d4fd49d784b2d76490ff36f6a855ab5c468d2e5aa08ce15cb0fe3d9b2c
title: Disallow Use of __proto__ (no-proto)
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/cli/validation-rules-no-proto.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/validation-rules-no-proto.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e7c098baba6a8020def07adc94651e04203e3a1afa3488db3190ddce72d8b803
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Disallow Use of \_\_proto\_\_ (no-proto)

Prevents using the obsolete `__proto__` property, which was deprecated in ECMAScript 3.1. Use `Object.getPrototypeOf()` instead. This is a standard rule built into ESLint.

For complete details about this rule, including examples, see the corresponding ESLint documentation, [Disallow Use of \_\_proto\_\_ (no-proto)](https://eslint.org/docs/rules/no-proto).
