ci(custom-checks): add common package json fields check #3670
Labels
enhancement
New feature or request
Flaky-Test-Automation
Issues related to test stability (which is a long running issue that can never fully be solved)
good-first-issue-400-expert
P3
Priority 3: Medium
Is your feature request related to a problem? Please describe.
We have bunch of custom checks that verify content of
package.json
and we need to add new ones from time to time. Most recently, we want to verify that:Describe the solution you'd like
I don't want to add a new script each time a single field has to be checked, I want to have a simple template that will describe what parts of
package.json
should be assesed, and have a single script that will do the verification (and possibly a fix if applicable).Example template I have in mind (don't mind the values, it's just an example):
Describe alternatives you've considered
Adding new script isn't hard but still a bit time consuming. Having template-based solution will allow adding new / modifying rules in a matter of minutes.
@petermetz thoughts?
The text was updated successfully, but these errors were encountered: