Skip to content

update hadolint's config json schema to support latest properties#910

Merged
lorenzo merged 1 commit intohadolint:masterfrom
omissis:master
Dec 1, 2022
Merged

update hadolint's config json schema to support latest properties#910
lorenzo merged 1 commit intohadolint:masterfrom
omissis:master

Conversation

@omissis
Copy link
Copy Markdown
Contributor

@omissis omissis commented Dec 1, 2022

What I did

I updated the json schema for the hadolint.yaml file

How I did it

I was creating a hadolint yaml in vscode when I saw it highlighted some keys as non supported. So I added them to the hadolint.json file.

How to verify it

using a jsonschema validator, such as https://check-jsonschema.readthedocs.io/en/latest/install.html

pip install check-jsonschema

yq /path/to/.hadolint.yaml -o json > .hadolint.json

check-jsonschema --schemafile contrib/hadolint.json .hadolint.json

@lorenzo
Copy link
Copy Markdown
Member

lorenzo commented Dec 1, 2022

thanks!

@lorenzo lorenzo merged commit 6c30f8e into hadolint:master Dec 1, 2022
@omissis
Copy link
Copy Markdown
Contributor Author

omissis commented Dec 1, 2022

woah that wast FAST :D

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

Successfully merging this pull request may close these issues.

2 participants