MetaMask / module-lint

Analyzes one or more repos for divergence from a template repo.
1 stars 3 forks source link

Add changelog-related checks #48

Closed mcmire closed 4 months ago

mcmire commented 5 months ago

We want to make sure that for a given project:

mcmire commented 4 months ago

For more context on this item:

The project contains a CHANGELOG.md, and it is valid (i.e., running it through auto-changelog's validate function passes).

The auto-changelog package has a validateChangelog function that can be imported. The idea here would be to call this function in the rule; if this function throws (meaning the changelog is invalid) then the rule should fail, but if it is not, then it should pass.

kanthesha commented 4 months ago

@mcmire your thoughts on running yarn lint:changelog with exec (from child_process)?