Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some basic linting #73

Open
di opened this issue May 24, 2022 · 2 comments
Open

Add some basic linting #73

di opened this issue May 24, 2022 · 2 comments

Comments

@di
Copy link
Member

di commented May 24, 2022

While most advisories are automatically generated, occasionally they will be hand-written (e.g. #72).

It would be nice to add some basic linting that ensures files are correctly formatted and have the minimum required fields, and run this on a new PR.

@woodruffw
Copy link
Member

OSV provides a JSON schema here, so validating against that wouldn't be too hard 🙂

@oliverchang
Copy link
Contributor

+1 to this! A JSON schema based validator should be trivial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants