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>
This commit is contained in:
parent
04c723d27c
commit
fc106245da
7
tools/cpplint.py
vendored
7
tools/cpplint.py
vendored
@ -254,7 +254,12 @@ _LEGACY_ERROR_CATEGORIES = [
|
|||||||
# flag. By default all errors are on, so only add here categories that should be
|
# 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).
|
# 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.
|
# 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.
|
# The default list of categories suppressed for C (not C++) files.
|
||||||
_DEFAULT_C_SUPPRESSED_CATEGORIES = [
|
_DEFAULT_C_SUPPRESSED_CATEGORIES = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user