Skip to content

Commit

Permalink
Added Style namespace to Documentation cop. Changed Style/PredicateNa…
Browse files Browse the repository at this point in the history
…me namespace to Naming.
  • Loading branch information
Philip Maina committed Mar 10, 2022
1 parent 19bfac1 commit 39d140f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -15,7 +15,7 @@ Metrics/PerceivedComplexity:
Max: 10
Metrics/BlockLength:
Enabled: false
Documentation:
Style/Documentation:
Enabled: false
Style/SignalException:
EnforcedStyle: only_raise
Expand Down
2 changes: 1 addition & 1 deletion lib/acts_as_hashids/core.rb
Expand Up @@ -59,7 +59,7 @@ def with_hashids(*ids)
where(primary_key => decoded_ids)
end

def has_many(*args, &block) # rubocop:disable Style/PredicateName
def has_many(*args, &block) # rubocop:disable Naming/PredicateName
options = args.extract_options!
options[:extend] = (options[:extend] || []).concat([FinderMethods])
super(*args, **options, &block)
Expand Down

0 comments on commit 39d140f

Please sign in to comment.