Feature request: cmake-check / cmake-tidy static analysis tool
https://github.com/DaelDe/cmake_check/ is a is a linter for the CMake language. It takes a set of user-defined rules and reports violations for CMakeLists.txt files and CMake modules.
It would be great if this would be part of CMake. CMake already has the language parsing implemented, should not be difficult to have a tool for it.
I guess one can learn from the clang-tidy (which is BSD) and have a similar tool for cmake-tidy.