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:
Rafael Gonzaga 2024-09-07 19:55:34 -03:00 committed by GitHub
parent 38974a2eb3
commit 46c6f8ce26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

5
tools/cpplint.py vendored
View File

@ -397,7 +397,10 @@ _OTHER_NOLINT_CATEGORY_PREFIXES = [
# 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_alpha',
'-readability/fn_size',
]
# The default list of categories suppressed for C (not C++) files.
_DEFAULT_C_SUPPRESSED_CATEGORIES = [