Created
October 3, 2018 14:45
-
-
Save akerouanton/a3d69f3348f2fb9e98f9589d3159d0bd to your computer and use it in GitHub Desktop.
One-liner for YAML file linting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -t -v $(pwd):/app -w /app sdesbure/yamllint find ./ -type f -name '*.yaml' -or -name '*.yml' -and -not -path '*/node_modules/*' -and -not -path '*/vendor/*' -exec yamllint {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment