@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

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

Options

projectName

Required
string

Which project should be the configuration be added to?

skipFormat

Internal
boolean
Default: false

Skip formatting files with prettier.