Nx comes with dedicated documentation for each framework:

workspace-lint

Lint workspace or list of files. Note: To exclude files from this lint rule, you can add them to the .nxignore file

Usage

nx workspace-lint

Install nx globally to invoke the command directly using nx, or use npx nx, yarn nx, or pnpx nx.

Options

help

Show help

version

Show version number