Skip to content

thomaspoignant/yamllint-checkstyle

Repository files navigation

yamllint-checkstyle convert yamllint to checkstyle report

Release version Build Status Coverage Status Sonarcloud Status Go version

Installation

via brew (mac & linux).

brew tap thomaspoignant/homebrew-tap
brew install yamllint-checkstyle

via scoop (windows).

scoop bucket add org https://github.com/thomaspoignant/scoop.git
scoop install yamllint-checkstyle

Usage

run yamllint-checkstyle and pass yamllint (with -f parsable option) output to it

yamllint -f parsable test.yaml | yamllint-checkstyle > yamllint-checkstyle.xml

Output

  • if there are any lint errors, full Checkstyle XML will be created
  • if there are no errors, empty Checkstyle XML will be created.

How can I contribute?

See the contributor's guide for some helpful tips.