@nx/plugin:plugin-lint-checks

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

Usage

1nx generate plugin-lint-checks ... 2

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:

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

Show what will be generated without writing to disk:

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

Examples

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

1nx g @nx/plugin:lint-checks 2
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.