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 Michaël Zasso
parent f7af8ca021
commit f5c65d0be6
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

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