---
schema_version: "1"
id: eaafec9cda4f6c03a5161b96456856a1d153bf76a8f96abe310828d63ae60805
title: Disallow Extending Native Objects (no-extend-native)
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-extend-native.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/validation-rules-no-extend-native.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 85363219567218548a6c58bb6e763052b1a1e1cd779b1b458d648493bf254ab8
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Disallow Extending Native Objects (no-extend-native)

Prevent changing the behavior of built-in JavaScript objects, such as Object or Array, by modifying their prototypes. This is a standard rule built into ESLint.

For complete details about this rule, including examples, see the corresponding ESLint documentation, [Disallow Extending of Native Objects (no-extend-native)](https://eslint.org/docs/rules/no-extend-native).
