sfdx force:lightning:lint [path]
Analyze (lint) Aura component code
Arguments
Name | Description |
---|---|
path |
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-i, --ignore <ignore> | Pattern used to ignore some folders |
--files <files> | Pattern used to include specific files |
--config <config> | Path to a custom ESLint configuration file |
--verbose | Report warnings in addition to errors |
--exit | Exit with error code 1 if there are lint issues |