Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress new
Style/ReturnNilInPredicateMethodDefinition
offenses
Follow up rubocop/rubocop#11967. This commit suppresses the following new `Style/ReturnNilInPredicateMethodDefinition` offenses: ```console $ bundle exec rubocop (snip) Offenses: lib/rubocop/cop/performance/fixed_size.rb:81:11: C: [Correctable] Style/ReturnNilInPredicateMethodDefinition: Use return false instead of return in the predicate method. return unless node.array_type? ^^^^^^ lib/rubocop/cop/performance/fixed_size.rb:87:11: C: [Correctable] Style/ReturnNilInPredicateMethodDefinition: Use return false instead of return in the predicate method. return unless node.hash_type? ^^^^^^ 116 files inspected, 2 offenses detected, 2 offenses autocorrectable ```
- Loading branch information