From c3bc792c032a7804ef82344d1ce286eec4baffc5 Mon Sep 17 00:00:00 2001 From: Timothy Williams Date: Thu, 9 Jul 2026 13:10:57 -0400 Subject: [PATCH] Rename Lint/MissingCopEnableDirective obsolete parameter Rename obsolete parameter `MaximumRangeSize` (for `Lint/MissingCopEnableDirective`) to `MaxRangeSize` to resolve the following warning... ``` Warning: obsolete parameter `MaximumRangeSize` (for `Lint/MissingCopEnableDirective`) found in /Users/timowill/.rbenv/versions/3.2.11/lib/ruby/gems/3.2.0/gems/rubocop-airbnb-8.1.0/config/rubocop-lint.yml `MaximumRangeSize` has been renamed to `MaxRangeSize`. Warning: Lint/MissingCopEnableDirective does not support MaximumRangeSize parameter. Supported parameters are: - Enabled - MaxRangeSize ``` --- rubocop-airbnb/config/rubocop-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubocop-airbnb/config/rubocop-lint.yml b/rubocop-airbnb/config/rubocop-lint.yml index d23e12a..fab1ded 100644 --- a/rubocop-airbnb/config/rubocop-lint.yml +++ b/rubocop-airbnb/config/rubocop-lint.yml @@ -136,7 +136,7 @@ Lint/MissingCopEnableDirective: # a = 1 # # rubocop:enable SomeCop # .inf for any size - MaximumRangeSize: .inf + MaxRangeSize: .inf Description: 'Checks for a `# rubocop:enable` after `# rubocop:disable`' Enabled: true