Apply linting to CI and format all files

The CI has been extended to check whether all the .cpp, .h, and .cmake files are properly formatted. Since this was not the case, the formatting script has been applied.

Merge request reports

Loading