# adrienverge/yamllint

A linter for YAML files.

Repository: https://github.com/adrienverge/yamllint
Canonical: https://ross.abutalabs.com/products/yamllint
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: linter, lint, yaml, yamllint
Last push: 2026-08-19T09:40:38+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 65, longevity 100
- inputs: {"age_days": 3887, "days_push": 14, "days_rel": 232, "gap_med": 23.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3450, forks 324 (observed 2026-08-28T04:08:05.266734+00:00)

## What it is
yamllint is a Python-based linter for YAML files that checks syntax validity plus style issues like key duplication, line length, trailing spaces, and indentation. It runs as a CLI, supports custom rule configurations, inline disables, and parsable output for editor integration.

## Use cases
- lint yaml files for syntax errors
- check yaml indentation and formatting
- enforce yaml style rules in ci
- detect duplicate keys in yaml
- validate yaml config files before deployment
- integrate yaml linting into vim or emacs

## When to choose
- you need configurable yaml style and syntax checking
- you want a lightweight CLI linter with parsable output for editors and CI
- you need per-line or per-file rule disables and ignore patterns

## When to avoid
- you need linting for formats other than YAML
- you want a full YAML parser or data transformation library rather than a linter

## Facets
- artifact type: cli-tool
- maturity: stable
- function: linter, parser, cli, developer-tools
- domain: developer-tools, files
- platform: python, cli, windows, cross-platform
- tags: yaml, static-analysis, code-quality, ci, command-line, devops, linux, macos

## Member repositories
- adrienverge/yamllint (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.266734+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:35.133634+00:00, confidence not recorded.
  - readme: https://github.com/adrienverge/yamllint (fetched 2026-08-28T04:08:05.266734+00:00, sha 250e3c73869a)
  - registry_pypi: https://pypi.org/pypi/yamllint/json (fetched 2026-08-29T09:31:23.353157+00:00, sha 2b0ca39ec4a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
