docs(core): add missing description field on custom conformance rule type
This commit is contained in:
parent
fba6cc8f9b
commit
cb41bcbc37
@ -189,6 +189,7 @@ import { createConformanceRule } from '@nx/powerpack-conformance';
|
|||||||
|
|
||||||
const rule = createConformanceRule({
|
const rule = createConformanceRule({
|
||||||
name: 'local-conformance-rule-example',
|
name: 'local-conformance-rule-example',
|
||||||
|
description: 'The description of the rule',
|
||||||
category: 'security', // `consistency`, `maintainability`, `reliability` or `security`
|
category: 'security', // `consistency`, `maintainability`, `reliability` or `security`
|
||||||
reporter: 'project-reporter', // `project-reporter` or `project-files-reporter`
|
reporter: 'project-reporter', // `project-reporter` or `project-files-reporter`
|
||||||
implementation: async (context) => {
|
implementation: async (context) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user