Kind of done. Currently, only fails because ament_cpplint does not find any files, which is true since all c++ files are located in templates/*. However, those files do not have a valid syntax at the moment and are therefore excluded.
Besides this, the approach of using the ament_* commands has multiple drawbacks in my point of view.
Need to make two "different" workflows:
hard to comprehend for new users
need to be kept in sync
ros-lint is not as flexible in excluding files as pre-commit, at least i wasn't able to exclude multiple files without listing them all
Kind of done. Currently, only fails because ament_cpplint does not find any files, which is true since all c++ files are located in templates/*. However, those files do not have a valid syntax at the moment and are therefore excluded.
Besides this, the approach of using the ament_* commands has multiple drawbacks in my point of view.