---
schema_version: "1"
id: e691d82d85e9c4e8e3dccfae7cc46b2b9108f47b0ec9d81899a7bbbb4cfc4a94
title: Disallow Script URLs (no-script-url)
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-script-url.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/validation-rules-no-script-url.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: fb758dae79fbbb4161f6deba17805ca9db09a0a53365f9481d025596ce0f3207
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Disallow Script URLs (no-script-url)

Prevents the use of `javascript:` URLs. This is a standard rule built into ESLint.

For complete details about this rule, including examples, see the corresponding ESLint documentation, [Disallow Script URLs (no-script-url)](https://eslint.org/docs/rules/no-script-url).
