From 46c6f8ce26ce1223b0e8e1442d7193529932481d Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Sat, 7 Sep 2024 19:55:34 -0300 Subject: [PATCH] tools: add readability/fn_size to filter PR-URL: https://github.com/nodejs/node/pull/54744 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- tools/cpplint.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/cpplint.py b/tools/cpplint.py index 832e9c54567..5d6172d5a4e 100755 --- a/tools/cpplint.py +++ b/tools/cpplint.py @@ -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 = [