sfdx force:lightning:lint [path]

Analyze (lint) Aura component code

Arguments

NameDescription
path

Options

NameDescription
--jsonFormat 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
--verboseReport warnings in addition to errors
--exitExit with error code 1 if there are lint issues