Skip to content

Commit

Permalink
Remove already enabled cops from .rubocop.yml
Browse files Browse the repository at this point in the history
A lot of RSpec cops were recently changed from being pending to be
enabled. This means we no longer need to explicitly enable them in our
internal RuboCop config file.
  • Loading branch information
bquorning committed Jun 9, 2024
1 parent a1258f4 commit f41cd5a
Showing 1 changed file with 2 additions and 64 deletions.
66 changes: 2 additions & 64 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ Style/RequireOrder:
Enabled: true

RSpec/SpecFilePathFormat:
Enabled: true
Exclude:
- spec/rubocop/cop/rspec/mixin/**/*.rb

Expand Down Expand Up @@ -253,66 +252,5 @@ Style/SwapValues: {Enabled: true}
Style/YAMLFileRead: {Enabled: true}

# Enable our own pending cops.

RSpec/BeEmpty:
Enabled: true
RSpec/BeEq:
Enabled: true
RSpec/BeNil:
Enabled: true
RSpec/ChangeByZero:
Enabled: true
RSpec/ClassCheck:
Enabled: true
RSpec/ContainExactly:
Enabled: true
RSpec/DuplicatedMetadata:
Enabled: true
RSpec/EmptyMetadata:
Enabled: true
RSpec/EmptyOutput:
Enabled: true
RSpec/Eq:
Enabled: true
RSpec/ExcessiveDocstringSpacing:
Enabled: true
RSpec/ExpectInLet:
Enabled: true
RSpec/IdenticalEqualityAssertion:
Enabled: true
RSpec/IndexedLet:
Enabled: true
RSpec/IsExpectedSpecify:
Enabled: true
RSpec/MatchArray:
Enabled: true
RSpec/MetadataStyle:
Enabled: true
RSpec/MissingExpectationTargetMethod:
Enabled: true
RSpec/NoExpectationExample:
Enabled: true
RSpec/PendingWithoutReason:
Enabled: true
RSpec/ReceiveMessages:
Enabled: true
RSpec/RedundantAround:
Enabled: true
RSpec/RedundantPredicateMatcher:
Enabled: true
RSpec/RemoveConst:
Enabled: true
RSpec/RepeatedSubjectCall:
Enabled: true
RSpec/SkipBlockInsideExample:
Enabled: true
RSpec/SortMetadata:
Enabled: true
RSpec/SpecFilePathSuffix:
Enabled: true
RSpec/SubjectDeclaration:
Enabled: true
RSpec/UndescriptiveLiteralsDescription:
Enabled: true
RSpec/VerifiedDoubleReference:
Enabled: true
#
# No pending cops yet.

0 comments on commit f41cd5a

Please sign in to comment.