File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ Metrics/BlockLength:
6767Metrics/ParameterLists :
6868 CountKeywordArgs : false
6969
70+ # This cop does not detect predicate methods very well
71+ Naming/PredicateMethod :
72+ Enabled : false
73+
7074Naming/RescuedExceptionsVariableName :
7175 PreferredName : error
7276
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ gem 'cucumber', '~> 9.0'
1010gem 'rake' , '~> 13.0'
1111gem 'rspec' , '~> 3.0'
1212gem 'rspec-benchmark' , '~> 0.6.0'
13- gem 'rubocop' , '~> 1.75.0 '
13+ gem 'rubocop' , '~> 1.76.1 '
1414gem 'rubocop-performance' , '~> 1.25.0'
1515gem 'rubocop-rspec' , '~> 3.6.0'
1616gem 'simplecov' , '~> 0.22.0'
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def sort_examiners
6262
6363 def total_smell_count_message
6464 colour = smells? ? WARNINGS_COLOR : NO_WARNINGS_COLOR
65- Rainbow ( "#{ total_smell_count } total warning#{ total_smell_count == 1 ? '' : 's' } \n " ) . color ( colour )
65+ Rainbow ( "#{ total_smell_count } total warning#{ 's' unless total_smell_count == 1 } \n " ) . color ( colour )
6666 end
6767 end
6868 end
You can’t perform that action at this time.
0 commit comments