Skip to Content
ReferenceCLImastra lint

The mastra lint command validates your Mastra project structure and code.

Usage

mastra lint [options]

Options

OptionDescription
-d, --dir <path>Path to your Mastra folder
-r, --root <path>Path to your root folder
-t, --tools <toolsDirs>Comma-separated list of paths to tool files to include