From d90f1df4147f11ae25c8798beee4cca55623c205 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 832e9c54567ee9..5d6172d5a4e8b1 100755 --- a/tools/cpplint.py +++ b/tools/cpplint.py @@ -397,7 +397,10 @@ # 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 = [