yamllint
The facts below are what the maker publishes about yamllint, checked and dated. Our editors have not written about it yet.
Plans and prices
From yamllint's own pricing page, checked 8 Oct 2001.
| Plan | Price | What it gives you |
|---|---|---|
| yamllint | Free | Open source YAML linter · runs as a script or Python module |
The facts
Each one read from yamllint's own pages, with the date it was checked.
What it does
- Configuration
- It includes default and relaxed configurations and supports custom configuration files.checked 8 Oct 2001
- Editor integrations
- The documentation lists Vim, Neovim, Emacs, Visual Studio Code, and IntelliJ integrations.checked 8 Oct 2001
- Input
- It can lint individual files, directories, or YAML streams from standard input.checked 8 Oct 2001
- License
- The GitHub repository identifies the project license as GPL-3.0.checked 8 Oct 2001
- Output
- It provides a parsable output format for use with tools such as editor syntax highlighting.checked 8 Oct 2001
- Purpose
- yamllint checks YAML syntax and issues such as duplicate keys, line length, trailing spaces, and indentation.checked 8 Oct 2001
- Python module
- The project provides a Python module that can be used to write custom linting tools.checked 8 Oct 2001
- Rules
- Its rules can be enabled, disabled, or adjusted, including whether a finding is an error or warning.checked 8 Oct 2001
- Workflow integrations
- The documentation describes integration with pre-commit, GitHub Actions, GitLab CI/CD, and Arcanist.checked 8 Oct 2001
Where it runs
- Platforms
- The installation guide lists packages for macOS, Debian and Ubuntu, Fedora and CentOS, FreeBSD, OpenBSD, and Alpine Linux, as well as installation with pip.checked 8 Oct 2001
Alternatives to yamllint
- 1
Flake8
Free planOpen sourceAPILinuxmacOSSelf-hosted7.3Free plan - 2
PMD
Free planLinuxmacOSSelf-hostedWindows6.8Free plan - 3
SwiftLint
Free planLinuxmacOSWindows6.6Free plan - 4

Ruff
Free planWebLinuxmacOSSelf-hosted6.5Free plan - 5

Biome
Free planWebExtensionLinuxmacOS6.4Free plan - 6

Cppcheck
Free planLinuxmacOSSelf-hostedWindows6.4Free plan
