Skip to content

lint

Lint all versions and ranges and exit with 0 or 1 based on whether all files match your Syncpack configuration file.

CLI Options

config

Syncpack uses cosmiconfig to discover your config file, but a custom location can be provided instead.

syncpack lint --config ./config/.syncpackrc

help

Display a list of CLI options and other help information.

syncpack lint --help

Troubleshooting

Verbose logging can be enabled by prefixing syncpack with the following environment variable:

SYNCPACK_VERBOSE=true syncpack lint