Adding lint checks for max. cyclomatic complexity, max. # statements and max. scope depth. TODO: Needs tuning!