ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A

How to add a linter to ROS 2 | Ubuntu

A well configured linter can catch common errors before code is even run or compiled. ROS 2 makes it easy to add linters of your choice and make them part of your package’s testing pipeline.

While ament_lint already has a wide selection of linters available, this guide covers everything you need to support a new one, based on our work adding mypy support.