Newer Version Available
Salesforce Lightning CLI Options
There are several options that modify the behavior of Lightning CLI.
The following options are available.
| Option | Description |
|---|---|
| -i, --ignore IGNORE | Pattern to ignore some folders. For example:
|
| --files FILES | Pattern to include only specific files. Defaults to all .js
files. For example:
|
| -j, --json | Output JSON to facilitate integration with other tools. Without this option, defaults to standard text output format. |
| --config CONFIG | Path to a custom ESLint configuration. Only code styles rules are picked up, the rest
are ignored. For example:
|
| --quiet | Report errors only. By default, Lightning CLI reports both errors and warnings. |
Lightning CLI also provides some built-in help, which you can access at any time with the following commands:
1heroku lightning --help
2heroku lightning:lint --help