yamllint-checkstyle convert yamllint to checkstyle report
brew tap thomaspoignant/homebrew-tap
brew install yamllint-checkstyle
scoop bucket add org https://github.com/thomaspoignant/scoop.git
scoop install yamllint-checkstyle
run yamllint-checkstyle
and pass yamllint
(with -f
parsable option) output to it
yamllint -f parsable test.yaml | yamllint-checkstyle > yamllint-checkstyle.xml
- if there are any lint errors, full Checkstyle XML will be created
- if there are no errors, empty Checkstyle XML will be created.
See the contributor's guide for some helpful tips.