I have a codebase that is touched by many people. While most people make an effort to keep the code nicely formatted (e.g. consistent indentation and use of braces), some don\'
Take a look at Vera++, it has a number of rules already available but the nice part is that you can modify them or write your own.