From 23abe3723426236597f0571f257ed54d4603d998 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Tue, 7 Mar 2023 23:35:07 +0000 Subject: [PATCH] rubocop: Trim `Naming/MethodParameterName` allowlist based on defaults - These are already included in https://github.com/rubocop/rubocop/blob/6136ffd91e8d6fba22d6fb44ec8498a5d43537d0/config/default.yml#L2834-L2862 upstream default allowed method names, so we don't need them here too. - Practically this makes no difference since the `inherit_mode` is `merge` it'll just merge the two, but for tidiness I thought I'd do this anyway since the duplication annoyed me. --- Library/.rubocop.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 38996b0fba..fbf732a8e1 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -192,7 +192,6 @@ Naming/MethodParameterName: [ "a", "b", - "cc", "c1", "c2", "d", @@ -200,7 +199,6 @@ Naming/MethodParameterName: "f", "ff", "fn", - "id", "o", "p", "pr",