The CMake formatter we use here (and in our other projects) is cmake-format, which hasn't been updated in over 3.5 years (last commit in May 2021). It seems the author abandoned it entirely, many PRs are still open and there has been discussion about having a successor fork on some issues e.g. https://github.com/cheshirekow/cmake_format/issues/340
The CMake formatter we use here (and in our other projects) is cmake-format, which hasn't been updated in over 3.5 years (last commit in May 2021). It seems the author abandoned it entirely, many PRs are still open and there has been discussion about having a successor fork on some issues e.g. https://github.com/cheshirekow/cmake_format/issues/340
The linked issue suggests using this project: https://github.com/BlankSpruce/gersemi. Here's what I see is good here:
.gersemirc
) that pre-commit will pick up