Skip to content

Commit

Permalink
More Rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyshields committed May 6, 2024
1 parent bd77b0e commit 2193184
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 62 deletions.
9 changes: 6 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ Layout/EmptyLinesAroundClassBody:
Layout/EmptyLinesAroundModuleBody:
Enabled: false

Style/IfUnlessModifier:
Enabled: false

Performance/CollectionLiteralInLoop:
Exclude:
- 'spec/mongoid/association/embedded/embeds_many/proxy_spec.rb'
Expand All @@ -153,6 +150,9 @@ Performance/CollectionLiteralInLoop:
- 'spec/mongoid/criteria/queryable/selectable_spec.rb'
- 'spec/mongoid/criteria/queryable/selector_spec.rb'

Style/IfUnlessModifier:
Enabled: false

# --------------------------------------------------
# These cops are intentionally disabled due to incompatibility.

Expand Down Expand Up @@ -215,6 +215,9 @@ Naming/PredicateName:
- has_attribute?
- has_attribute_before_type_cast?

RSpec/IndexedLet:
Enabled: false

RSpec/NotToNot:
EnforcedStyle: to_not

Expand Down

0 comments on commit 2193184

Please sign in to comment.