Skip to content
SPECIFICTION
Get listed

clang-tidy vs yamllint

clang-tidy

clang.llvm.org

yamllint

yamllint.readthedocs.io

Side by side

Figureclang-tidyyamllint
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
macOS—Yes
LinuxYesYes
Plans published11
Spec score · Linters8.5 (#4)6.9 (#31)
ConfigurationChecks can be selected with comma-separated positive and negative globs, and configuration can be read from a .clang-tidy file.It includes default and relaxed configurations and supports custom configuration files.
LicenseThe LLVM project states that its code is licensed under the Apache 2.0 License with LLVM exceptions.The GitHub repository identifies the project license as GPL-3.0.
Purposeclang-tidy is a Clang-based C++ linter for diagnosing and fixing typical programming errors, including style violations, interface misuse, and bugs detectable by static analysis.yamllint checks YAML syntax and issues such as duplicate keys, line length, trailing spaces, and indentation.

Plans

clang-tidy

  • clang-tidyFree

clang-tidy pricing →

yamllint

  • yamllintFree

yamllint pricing →

In their own words

clang-tidy

clang-tidy has no write-up on Specifiction yet; its figures are above.

Visit clang.llvm.org

yamllint

yamllint has no write-up on Specifiction yet; its figures are above.

Visit yamllint.readthedocs.io