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 58a088b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 91 deletions.
4 changes: 3 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,9 @@ Style/HashTransformValues:
Style/SlicingWithRange:
Enabled: true

Style/UnlessMultipleConditions:
Enabled: true

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 58a088b

Please sign in to comment.