docs(core): add missing description field on custom conformance rule type

This commit is contained in:
Juri 2024-10-06 16:39:52 -07:00 committed by Juri Strumpflohner
parent fba6cc8f9b
commit cb41bcbc37

View File

@ -189,6 +189,7 @@ import { createConformanceRule } from '@nx/powerpack-conformance';
const rule = createConformanceRule({
name: 'local-conformance-rule-example',
description: 'The description of the rule',
category: 'security', // `consistency`, `maintainability`, `reliability` or `security`
reporter: 'project-reporter', // `project-reporter` or `project-files-reporter`
implementation: async (context) => {