Skip to content

Commit d29aa6b

Browse files
committed
(doc) Document rule CPMR0070 with proper information
This adds documentation to the CPMR0070 rule to inform users of what the issue is, how to remediate the issue and the reasoning behind it being flagged.
1 parent 76f6598 commit d29aa6b

File tree

1 file changed

+5
-6
lines changed
  • src/content/docs/en-us/community-repository/moderation/package-validator/rules

1 file changed

+5
-6
lines changed

src/content/docs/en-us/community-repository/moderation/package-validator/rules/cpmr0070.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,15 @@ import PackageValidatorRuleNote from '@components/docs/PackageValidatorRuleNote.
1212

1313
<PackageValidatorRuleNote />
1414

15-
<Callout type="info">
16-
This page is a stub that has not yet been filled out. If you have questions about this issue, please ask in the review or reach out on [Community Chat](https://ch0.co/community)
17-
</Callout>
18-
1915
## Issue
2016

21-
In the nuspec,
17+
In the nuspec, the `<id>` field has been specified with an underscore (`_`) as part of the package identifier when separating words.
2218

2319
## Recommended Solution
2420

25-
Please update _ so that _
21+
Please update the `<id>` field in the `.nuspec` file to ensure that the package identifier does not contain an underscore, and follows our [package naming Guidelines](https://docs.chocolatey.org/en-us/create/create-packages/#naming-your-package)
2622

2723
## Reasoning
24+
25+
Packages on Chocolatey Community Repository should follow package guidelines and established conventions.
26+
One of the established conventions is to separate different words using a dash (`-`) instead of an underscore (`_`).

0 commit comments

Comments
 (0)