Skip to content

Commit

Permalink
Enabled RSpec/DescribedClassModuleWrapping cop
Browse files Browse the repository at this point in the history
  • Loading branch information
schinery committed Apr 20, 2022
1 parent e6ff975 commit 363c6be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
RSpec/DescribeClass:
Exclude:
- spec/tasks/**/*
# Avoid opening modules and defining specs within them
RSpec/DescribedClassModuleWrapping:
Enabled: true
# This is to prevent Rubocop from bugging on a spec helper that doesn't contain an example, which the support ones don't
RSpec/LeadingSubject:
Exclude:
Expand Down

0 comments on commit 363c6be

Please sign in to comment.