Skip to content

Latest commit

 

History

History

yamllint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

yamllint

python:3-alpine-based dockerization of yamllint, the linter for YAML files.

As the site says:

yamllint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc.

The source code for this image is hosted on GitHub in the backplane/conex repo.

Usage

Interactive

The following shell function can assist in running this image interactively:

yamllint() {
  docker run \
    --rm \
    --interactive \
    --tty \
    --volume "$(pwd):/work" \
    "backplane/yamllint" \
    "$@"
}