mrtazz / restclient-cpp

C++ client for making HTTP/REST requests
http://code.mrtazz.com/restclient-cpp/
MIT License
1.54k stars 372 forks source link

Clang-format support #107

Open drodil opened 5 years ago

drodil commented 5 years ago

In order to have the code formatting generalized, I would suggest adding .clang-format configuration file in the project and mention using of clang-format in the contribution guidelines.

More information here: https://clang.llvm.org/docs/ClangFormat.html

mrtazz commented 5 years ago

we are currently using cpplint for maintaining a standardized format. What would clang-format give us over cpplint? I'm not opposed to changing it but would like to understand the advantages.

mrtazz commented 4 years ago

Thank you @sineang01! This sounds like a reasonable set of advantages. If you're willing to open a PR to replace cpplint with clang-format, I'd be happy to review and merge it. Otherwise it might happen when I find the time to get to it.

edwinpjacques commented 3 years ago

@drodil I like this idea, would you be able to make a PR for it? Should be pretty easy, no?

drodil commented 3 years ago

Wow 2y later 😃 Not sure I have time any time soon but I'll keep it in mind!