Is roslint different from cpplint and pylint?

asked 2018-10-09 09:06:12 -0500

ar13pit gravatar image

updated 2018-10-09 09:07:07 -0500

Hi,

I noticed that roslint and cpplint give different outputs for the same file.

For example, the header guard format. cpplint suggests to use something like INCLUDE_<NAME_OF_HEADER_FILE>_H_ while roslint suggests <NAME_OF_HEADER>_H where <NAME_OF_HEADER> is the name of the header file in uppercase.

Does anyone know why is this the case? And which linter should one use (cpplint or roslint)?

Thanks

edit retag flag offensive close merge delete