Linting
To simplify linting palliate and its subprojects use Trunk.
Since all projects are git based and use a fair amount of TOML configuration files the following linters and tools are always active:
- git-diff-check
- gitleaks
- actionlint for GitHub Actions
- markdownlint for Markdown
- taplo for TOML
For the Python subprojects the following linters and tools are active:
For the C++ subprojects the following linters and tools are active:
Please install Trunk or the corresponding VSCode Extension. Some useful commands:
trunk check
to run the linter jobstrunk check --ci
if you want to see if there’s breaking issuestrunk fmt
to automatically format non-conforming files
The configuration files for all linters and tools can be found in .trunk/config/
relative to the repository’s root directory.