Tools for Lightning Web Security
To help you develop secure code that runs with Lightning Web Security (LWS), Salesforce provides these tools.
- ESLint Rules
To help you find areas in your code that trigger LWS 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.
- Lightning Web Security 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.
- Lightning Web Security Distortion Viewer
LWS Distortion Viewer describes the distortions’ effects on APIs. See Look Up Distortion Details in Lightning Web Security Distortion Viewer.