@nx/plugin:plugin-lint-checks

Adds linting configuration to validate common json files for nx plugins.

Usage

nx generate plugin-lint-checks ...

By default, Nx will search for plugin-lint-checks in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nx/plugin:plugin-lint-checks ...
Nx 15 and lower use @nrwl/ instead of @nx/

Show what will be generated without writing to disk:

nx g plugin-lint-checks ... --dry-run

Examples

Sets up linting configuration to validate common json files for an nx plugin project.:

nx g @nx/plugin:lint-checks
Nx 15 and lower use @nrwl/ instead of @nx/

Options

projectName

Required
string

Which project should be the configuration be added to?

skipFormat

boolean
Default: false

Skip formatting files with prettier.