nx/docs/react/cli/workspace-lint.md

22 lines
405 B
Markdown

# 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
```bash
nx workspace-lint
```
[Install `nx` globally]({{framework}}/getting-started/nx-setup#install-nx) to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpx nx`.
## Options
### help
Show help
### version
Show version number