Closed ClemensLinnhoff closed 1 year ago
While there are some cmake linters out there, there does not seem to be a generally accepted style guide for cmake. Some project have proprietary style guides, that are not generally applicable, or just very minimal ones. Furthermore, there does not seem to be a unified description language (e.g. as clang-format files for C++), so available lint tools uses proprietary style definition files.
Therefore, i.m.o. it would not be viable to include a cmake linter into the pipeline.
Is your feature request related to a problem? Please describe. Linters for C++ are already used to ensure code quality. Similar linters also exist for CMakeLists
Describe the solution you'd like One could use e.g. this tool.
Describe alternatives you've considered none