https://github.com/devgine/yamllint
https://github.com/devgine/yamllint
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devgine/yamllint
- Owner: devgine
- License: mit
- Created: 2025-01-03T09:06:54.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-12T15:53:14.000Z (11 months ago)
- Last Synced: 2025-01-19T17:17:01.665Z (11 months ago)
- Language: Dockerfile
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yaml lint
> Repository under construction
## About
A docker image linter for YAML files.
yamllint check for syntax validity, for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc.
## Run
```shell
docker run --rm -v $PWD:/srv ghcr.io/devgine/yamllint:latest /srv -s -f colored
```
## CI
### Gitlab-ci
```yaml
stages:
- quality
yaml-lint:
stage: quality
image:
name: ghcr.io/devgine/yamllint:1.0.0
entrypoint: [""]
script:
- yamllint . -s -c .yamllint
```
## Scan
```shell
docker run --rm -v $PWD:/srv checkmarx/kics:v2.1.3-alpine \
scan --no-progress -p /srv --exclude-gitignore --exclude-queries='d3499f6d-1651-41bb-a9a7-de925fea487b'
```
## References
https://yamllint.readthedocs.io/en/stable/index.html