mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tools: add readability/fn_size to filter
PR-URL: https://github.com/nodejs/node/pull/54744 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
38974a2eb3
commit
46c6f8ce26
5
tools/cpplint.py
vendored
5
tools/cpplint.py
vendored
@ -397,7 +397,10 @@ _OTHER_NOLINT_CATEGORY_PREFIXES = [
|
|||||||
# 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_alpha',
|
||||||
|
'-readability/fn_size',
|
||||||
|
]
|
||||||
|
|
||||||
# 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…
Reference in New Issue
Block a user