---
schema_version: "1"
id: 649777cd856c2823ac6759fa001b5aee76e8f845f8ede439121eceda094d5fa8
title: Tools for Lightning Web Security
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lwc/lightning-components-security/guides/lws/lws-tools.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-tools.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d6a76a4e5dbd1014623a90b48918f25602ffdd337fca95bcc08efe5d91b4047e
products:
  - Security for Lightning Components
  - lwc
---
# Tools for Lightning Web Security

To help you develop secure code that runs with Lightning Web Security (LWS), Salesforce provides these tools.

- [ESLint Rules](https://github.com/salesforce/lwsec-docs-mirror/tree/main/packages/%40locker/eslint-plugin-locker/docs/rules)

  - : To help you find areas in your code that trigger LWS [distortions](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-architecture.md#distortions), ESLint rules perform static code analysis. You can install them on your development machine and run them on your source code. See [Install ESLint Rules for Lightning Web Security](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-tools-lint.md).

- [Lightning Web Security Console](https://developer.salesforce.com/tools/lws-console)

  - : To help you determine if code issues are related to LWS, Lightning Web Security Console performs dynamic checking on your JavaScript code as it runs in a sandbox. See [Evaluate JavaScript in Lightning Web Security Console](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-tools-console.md).

- [Lightning Web Security Distortion Viewer](https://developer.salesforce.com/tools/lws-distortion-viewer)
  - : LWS Distortion Viewer describes the distortions’ effects on APIs. See [Look Up Distortion Details in Lightning Web Security Distortion Viewer](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-tools-distortion-viewer.md).
