Setting up linter for boost library development

6 Jun
2019
6 Jun
'19
8 a.m.
If someone has a linter setup with appropriate settings, can you please share details? I'm working on Boost.Real and would like to have a linter to help with coding style consistency. Help is appreciated. Thank You

7 Jun
7 Jun
8:26 a.m.
Hi,
you should follow all the guidelines listed here: https://www.boost.org/development/requirements.html Within those guidelines there is still a lot of freedom, especially regarding white space. For maintaining consistent white space treatment, I find clang-format very useful, but this needs a style file that is set up by the maintainer and put into the library. To complicate matters, different versions of clang-format produce different results based on the same style file. Best regards, Hans
2208
Age (days ago)
2209
Last active (days ago)
1 comments
2 participants
participants (2)
-
Hans Dembinski
-
Sagnik Dey