Newer Version Available
Salesforce Lightning CLI
Use Lightning CLI, a code linting tool, to
validate your code for use within the LockerService security architecture. Lightning CLI is a
Heroku Toolbelt plugin that lets you scan your code for Lightning-specific issues. This tool is
useful for preparing your Lightning code
for LockerService enablement.
Lightning CLI is a linting tool based on the open source ESLint project. Like ESLint, it flags issues it finds in your code. Lightning CLI alerts you to specific issues related to LockerService. Issues that are flagged include incorrect Lightning components code, use of unsupported or private Lightning APIs, and a number of general JavaScript coding issues. Lightning CLI installs into the Heroku Toolbelt, and is used on the command line.