Hacker GitHub

← All repos

adrienverge/yamllint

View on GitHub ↗ ★ 3,489 Python

A linter for YAML files.

5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2020-04-12 · latest 2026-01-02

Mentions per year 5 mentions · busiest year 2020 (1)
20082026
  1. …linters Available and kept up-to-date. I found for Python, PHP: https://github.com/j13k/yaml-lint https://github.com/adrienverge/yamllint Also .net: https://github.com/aaubry/YamlDotNet And NPM/js: https://github.com/stoplightio/spectral
    comment by Y-bar · 2026-01-02 · in FracturedJson
  2. ▲ 2
    yamllint – A Linter for YAML Files
    story by shaicoleman · 2023-09-20 · 0 comments
  3. …if you use a linter, such as yamllint [1]. This can be enforced as part of the CI process. 1. https://github.com/adrienverge/yamllint
    comment by shaicoleman · 2022-07-03 · in StrictYAML
  4. You can catch this with yamllint ( https://github.com/adrienverge/yamllint ): % cat countries.yml --- countries: - US - GB - NO - FR % yamllint countries.yml countries.yml 5:4 warning truthy value should be one of [false, true] (truthy)
    comment by ancarda · 2021-04-03 · in The Norway Problem
  5. YAMLLint is nice for this use case. https://github.com/adrienverge/yamllint It can be configured to require strict string quoting. https://yamllint.readthedocs.io/en/stable/rules.html#module-... And to explicitly restrict bools to only…
    comment by tedmiston · 2020-04-12 · in YAML: Probably not so great after all (2019)