cmake-format is a formatter for C, C++. You can enable the cmake-format formatter with:Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-flaky-tests-new-monitors.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Auto Enabling
cmake-format will be auto-enabled if any of its config files are present:.cmake-format.json, .cmake-format.py, .cmake-format.yaml.
Settings
cmake-format supports the following config files:.cmake-format.json.cmake-format.py.cmake-format.yamlcmake-format.jsoncmake-format.pycmake-format.yaml
.trunk/configs and trunk check will still find them. See Moving Linters for more info.
Links
- cmake-format site
- cmake-format Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo