Skip to content

hardis:project:lint

Description

Apply syntactic analysis (linters) on the repository sources, using Mega-Linter

Parameters

Name Type Description Default Required Options
debug
-d
boolean Activate debug mode (more logs)
fix
-f
boolean Apply linters fixes
flags-dir option undefined
json boolean Format output as json.
skipauth boolean Skip authentication check when a default username is required
target-org
-o
option undefined
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sf hardis:project:lint
$ sf hardis:project:lint --fix