Skip to main content
Version: 5.9.x

aspect lint

Run configured linters over the dependency graph.


Run linters and collect the reports they produce. See documentation on

aspect lint <target patterns> [flags]


      --diff            Output patch fixes for lint errors
--fix Apply patch fixes for lint errors
-h, --help help for lint
--output string Format for output of lint reports, either 'text' or 'sarif' (default "text")
--report Output lint reports (default true)

Options inherited from parent commands

      --aspect:config string   User-specified Aspect CLI config file. /dev/null indicates that all further --aspect:config flags will be ignored.
--aspect:interactive Interactive mode (e.g. prompts for user input)