Questions tagged [lightning-cli]

Lightning CLI is a Heroku Toolbelt plugin that lets you scan your code for general JavaScript coding issues and Lightning-specific issues. This tool is useful for preparing your Lightning components code for LockerService enablement.

Filter by
Sorted by
Tagged with
7
votes
3answers
962 views

ECMA Script 6 ESLint with lightning:lint

When using the sfdx CLI tool, there is documentation on how to use the sfdx force:lightning:lint command here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/...
13
votes
2answers
1k views

ECMAScript2015 compatibility

As I understand it, the platform uses closure compiler to transpile code. And closure compiler officially supports ECMAScript 6 since 2015. But lightning-cli is configured to not allow version 6 or ...
0
votes
1answer
138 views

Lightning CLI for Static resource

I was using Moment.js in my static resource. But after Winter 17 update it stopped working. So i have to make some changes in moment.js to make it work. Now my Question is How can we run lightning cli ...