Skip to main content
Version: Upcoming Release

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/