create-rule
Section titled “create-rule”Create a new conformance rule
Usage:
nx g @nx/conformance:create-rule [options]| Options | Type | Description | Default | 
|---|---|---|---|
| category | consistency,maintainability,reliability, orsecurity[required] | The category of the rule | |
| directory | string [required] | A directory where the rule directory is created. | {projectRoot}/src/rules | 
| name | string [required] | The name of the rule. | |
| description | string | The description of the rule. | 
preset
Section titled “preset”Generate a Nx workspace with a working conformance rule
Usage:
npx create-nx-workspace@latest --preset=@nx/conformance