diff --git a/tools/cpplint.py b/tools/cpplint.py index 94913206f9..0b79864f1a 100644 --- a/tools/cpplint.py +++ b/tools/cpplint.py @@ -254,7 +254,12 @@ _LEGACY_ERROR_CATEGORIES = [ # flag. By default all errors are on, so only add here categories that should be # off by default (i.e., categories that must be enabled by the --filter= flags). # All entries here should start with a '-' or '+', as in the --filter= flag. -_DEFAULT_FILTERS = ['-build/include_alpha'] +_DEFAULT_FILTERS = [ + '-build/include', + '-build/include_alpha', + '-build/include_order', + '-legal/copyright', + ] # The default list of categories suppressed for C (not C++) files. _DEFAULT_C_SUPPRESSED_CATEGORIES = [