nx/docs/angular/cli/workspace-lint.md
2021-12-10 12:18:46 -05:00

27 lines
586 B
Markdown

---
title: 'workspace-lint - CLI command'
description: 'Lint workspace or list of files. Note: To exclude files from this lint rule, you can add them to the `.nxignore` file'
---
# 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