Skip to content

Commit

Permalink
Replace custom cop w/ built-in one
Browse files Browse the repository at this point in the history
Per PR feedback.

[#177398947]
  • Loading branch information
flats committed Jul 21, 2021
1 parent 9aead1c commit 49a74da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 91 deletions.
5 changes: 4 additions & 1 deletion default.yml
Expand Up @@ -2,7 +2,6 @@ require:
- rubocop-thread_safety
- rubocop-rails
- rubocop-rspec
- ./lib/unless_with_multiple_conditions
- ./lib/private_attribute_accessors
- ./lib/update_not_update_attributes

Expand Down Expand Up @@ -55,6 +54,10 @@ Style/HashTransformValues:
Style/SlicingWithRange:
Enabled: true

Style/UnlessLogicalOperators:
Enabled: true
EnforcedStyle: forbid_logical_operators

Metrics/AbcSize:
Enabled: false

Expand Down
29 changes: 0 additions & 29 deletions lib/unless_with_multiple_conditions.rb

This file was deleted.

61 changes: 0 additions & 61 deletions spec/unless_with_multiple_conditions_spec.rb

This file was deleted.

0 comments on commit 49a74da

Please sign in to comment.