Details
-
Story
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
To avoid style glitches, it would be handy to have a style checker to catch the most common (and hard to find) errors such as whitespaces, tabs, line widths and so forth.
While it is not likely to find a fully compatible style checker, Google's cpplint can be configured to match a small subset of rules.
An example of such a script can be found here:
https://gist.github.com/nqn/6814621
This is just an example, which find about 170 whitespace and readability errors in the current master branch. Can be configured to the extent needed.