Browse Source

tools: disable unwanted cpplint rules again

This commit disables the build/include, build/include_alpha,
build/include_order and legal/copyright warnings again.

PR-URL: https://github.com/nodejs/node/pull/7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v7.x
Ben Noordhuis 9 years ago
parent
commit
fc106245da
  1. 7
      tools/cpplint.py

7
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 = [

Loading…
Cancel
Save