eclipse-iceoryx / eclipse-iceoryx/iceoryx
Add Linter/Formatter for CMake files
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 492
- Avg merge
- 18h 57m
- Merged PRs (30d)
- 1
Description
## Brief feature description
Since we have some CMake code to maintain, it make sense to enforce on this code also code quality rules like we do with the C++ code.
A possible tool-framework could be [cmakelang](https://cmake-format.readthedocs.io/en/latest/index.html#) which offers tooling for formatting and linting CMake Code properly.
Other suggestions are always welcome.
## Detailed information
- [ ] Evaluate and decide on a good tool for Linting/Formatting CMake code
- [ ] Add a pre-commit hook for checking on style issues in CMake code (similar to clang-format)
- [ ] Add a CI check to the pre-flight check for checking all CMake Codes on violations
- [ ] reformat and fix all linting violations in all CMake code in iceoryx
Contributor guide
Assessment
This issue has not been assessed yet.