Skip to content

Commit

Permalink
Replace rspec-focused w/ more general library
Browse files Browse the repository at this point in the history
That covers all things Rspec, including lingering `focus`es.

[#177398947]
  • Loading branch information
flats committed Jul 20, 2021
1 parent b68591b commit 66618da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cw-style.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "rubocop-rspec-focused", "= 0.0.3"
spec.add_dependency "rubocop", "~> 1.18.3"
spec.add_dependency "rubocop-thread_safety"
spec.add_dependency "rubocop-rails"
spec.add_dependency "rubocop-rspec"
spec.add_development_dependency "bundler", "~> 2.2.4"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec"
Expand Down
11 changes: 7 additions & 4 deletions default.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require:
- rubocop/rspec/focused
- 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 @@ -92,9 +92,6 @@ Rails/Output:
Rails/TimeZone:
EnforcedStyle: 'flexible'

RSpec/Focused:
Enabled: true

Style/Documentation:
Enabled: false

Expand Down Expand Up @@ -194,3 +191,9 @@ Style/TrailingCommaInHashLiteral:

Style/IfUnlessModifier:
Enabled: false

RSpec:
Enabled: false

RSpec/Focus:
Enabled: true

0 comments on commit 66618da

Please sign in to comment.