nx/docs/generated/cli/workspace-lint.md
2022-01-14 17:24:42 +00:00

739 B

title description
workspace-lint - CLI command Lint nx specific workspace files (nx.json, workspace.json) and check existence of the configured packages and apps. Note: To exclude files from this lint rule, you can add them to the `.nxignore` file

workspace-lint

Lint nx specific workspace files (nx.json, workspace.json) and check existence of the configured packages and apps. 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