Skip to main content
Version: 0.83.10

lint

The following command can be used to lint Starlark files in the given package

To get running quickly, simply run

kurtosis lint .

This will lint all the Starlark files in the given package

Instead of just finding linting issues if you want to format the files as well use the --format flag

kurtosis lint . --format

You can also lint a specific file via

kurtosis lint main.star

Or to lint multiple files or directories at the same time

kurtosis lint this.star that.star also-this.star my-favorite-directory/