You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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.
Copy file name to clipboardExpand all lines: src/content/docs/en-us/community-repository/moderation/package-validator/rules/cpmr0070.mdx
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,15 @@ import PackageValidatorRuleNote from '@components/docs/PackageValidatorRuleNote.
12
12
13
13
<PackageValidatorRuleNote />
14
14
15
-
<Callouttype="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
-
19
15
## Issue
20
16
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.
22
18
23
19
## Recommended Solution
24
20
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)
26
22
27
23
## 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