summaryrefslogtreecommitdiff
path: root/lint
AgeCommit message (Collapse)Author
2025-06-17lint scripts: Add typing and basic documentationPaul Cristian Sarbu
2025-06-17lint: add single-file overall reportKlaus Aehlig
To quickly understand where the problems found by the linter are, an overall report can be useful, so that just-mr --main lint build -P REPORT immediately shows the problems found in the code. For convenience, also include the patch to be applied to fix formating in the default target.
2025-06-16lint: add strict_depsKlaus Aehlig
Add a test verifying that no header files are picked up from an indirect dependency.
2025-06-16Add lint target for iwyuKlaus Aehlig
Co-authored-by: Maksim Denisov <denisov.maksim@huawei.com> Co-authored-by: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
2025-06-16clang-tidy: use bundled header filesKlaus T. Aehlig
A typical compiler implicitly adds some search directories for system headers; those might not be obvious for the bootstrapped clang-tidy. Therefore, use the bundled headers of the clang toolchain. This has the additional advantage, that everyone uses the same system headers for linting.
2025-06-13Add lint target for clang-formatKlaus Aehlig
2025-06-13Add a lint target for clang-tidyKlaus Aehlig
... using the already-committed configuration file and the version of clang-tidy that was imported from the toolchain.