Feature Request: CMake autoformatter and linter
In the case of C++ code, there is clang-format (https://clang.llvm.org/docs/ClangFormat.html) that automatically formats the code to enforce a consistent coding style, which is a huge huge pain reduction when reading other people's code. There is also linters like cpplint (https://en.wikipedia.org/wiki/Cpplint) that will "remind" the developer when their code is not following a certain style.
To my knowledge, there is an unofficial CMake linter called cmakelint https://github.com/richq/cmake-lint, but the style checks are rather basic.
I am wondering whether CMake has plans to release an autoformatter or a linter for CMakeLists? That will reduce a lot of pain when reading other people's CMakeLists. Please consider this!