docs(core): improve workspace-lint description (#8513)

This commit is contained in:
André Dias (he/him) 2022-01-14 18:24:42 +01:00 committed by GitHub
parent b0ffcdd0c8
commit 46db84ad0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -228,7 +228,7 @@ npx nx daemon
.command( .command(
'workspace-lint [files..]', 'workspace-lint [files..]',
chalk.bold( chalk.bold(
'Lint workspace or list of files. Note: To exclude files from this lint rule, you can add them to the `.nxignore` file' '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'
), ),
noop, noop,
async (_) => (await import('./lint')).workspaceLint() async (_) => (await import('./lint')).workspaceLint()