Skip to content

Commit

Permalink
Reduce .rubocop_todo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jul 20, 2019
1 parent 69ba7f7 commit c761793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-05-01 18:41:27 -0500 using RuboCop version 0.68.1.
# on 2019-07-20 09:00:25 +0900 using RuboCop version 0.72.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down Expand Up @@ -53,9 +53,3 @@ RSpec/ExampleLength:
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
Max: 7

# Offense count: 1
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'spec/spec_helper.rb'
4 changes: 1 addition & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
config.disable_monkey_patching!
config.warnings = true

if config.files_to_run.one?
config.default_formatter = 'doc'
end
config.default_formatter = 'doc' if config.files_to_run.one?

config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
Expand Down

0 comments on commit c761793

Please sign in to comment.