diff --git a/Gemfile.lock b/Gemfile.lock index 0c1ccaf6..5a2fda32 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - rubocop-shopify (2.17.0) + rubocop-shopify (2.17.1) rubocop (~> 1.62) GEM diff --git a/rubocop-shopify.gemspec b/rubocop-shopify.gemspec index c6817940..57a37cdd 100644 --- a/rubocop-shopify.gemspec +++ b/rubocop-shopify.gemspec @@ -3,7 +3,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = "rubocop-shopify" - s.version = "2.17.0" + s.version = "2.17.1" s.summary = "Shopify's style guide for Ruby." s.description = "Gem containing the rubocop.yml config that corresponds to " \ "the implementation of the Shopify's style guide for Ruby." diff --git a/rubocop.yml b/rubocop.yml index 12c97cb7..88e4f91b 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -464,7 +464,11 @@ Naming/MethodName: Naming/MethodParameterName: Enabled: false +<% if rubocop_version >= "1.76" %> +Naming/PredicatePrefix: +<% else %> Naming/PredicateName: +<% end %> NamePrefix: - is_ ForbiddenPrefixes: