Skip to content

Commit

Permalink
Remove unnecessary RuboCop RSpec settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Jun 11, 2024
1 parent db6c4a1 commit e097528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 63 deletions.
63 changes: 1 addition & 62 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ RSpec/DescribeClass:
Exclude:
- spec/project/**/*.rb

RSpec/FilePath:
RSpec/SpecFilePathFormat:
Exclude:
- spec/rubocop/cop/capybara/mixin/**/*.rb

Expand Down Expand Up @@ -172,64 +172,3 @@ Performance/StringInclude:
Enabled: true
Performance/Sum:
Enabled: true

# Enable pending rubocop-rspec 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/IdenticalEqualityAssertion:
Enabled: true
RSpec/IndexedLet:
Enabled: true
RSpec/IsExpectedSpecify:
Enabled: true
RSpec/MatchArray:
Enabled: true
RSpec/MetadataStyle:
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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem 'rake'
gem 'rspec', '~> 3.11'
gem 'rubocop-performance', '~> 1.7'
gem 'rubocop-rake', '~> 0.6'
gem 'rubocop-rspec', '~> 2.26'
gem 'rubocop-rspec', '~> 3.0'
gem 'simplecov', '>= 0.19'
gem 'yard'

Expand Down

0 comments on commit e097528

Please sign in to comment.