chocolatey-community / chocolatey-community-validation

Chocolatey CLI extension to bring community package validation rules to the console
Apache License 2.0
1 stars 4 forks source link

Implement note rule CPMR0062 - Chocolatey Dependency #35

Closed AdmiringWorm closed 2 months ago

AdmiringWorm commented 6 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

No response

Describe The Solution. Why is it needed?

We should implement the note rule available in Package Validator that adds a note to moderators when Chocolatey CLI has been added as a dependency to the nuspec file.

This should be implemented in a simple way that only checks if the presence of the chocolatey is defined as a dependency, and flag it if it is (no matter the case).

Additional Context

Rule Documentation: https://ch0.co/rules/cpmr0062

The documentation is currently stubbed out, and is required to be filled out as well in the docs repository

Related Issues

No response