File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
3
- # using RuboCop version 1.8 .1.
3
+ # using RuboCop version 1.9 .1.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
@@ -1284,6 +1284,17 @@ Style/IfUnlessModifierOfIfUnless:
1284
1284
Exclude :
1285
1285
- ' app/models/attachment.rb'
1286
1286
1287
+ # Cop supports --auto-correct.
1288
+ # Configuration parameters: AllowedMethods.
1289
+ # AllowedMethods: nonzero?
1290
+ Style/IfWithBooleanLiteralBranches :
1291
+ Exclude :
1292
+ - ' app/controllers/workflows_controller.rb'
1293
+ - ' app/helpers/application_helper.rb'
1294
+ - ' app/models/enumeration.rb'
1295
+ - ' app/models/query.rb'
1296
+ - ' lib/redmine/field_format.rb'
1297
+
1287
1298
# Cop supports --auto-correct.
1288
1299
# Configuration parameters: InverseMethods, InverseBlocks.
1289
1300
Style/InverseMethods :
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ group :test do
92
92
gem 'capybara' , '~> 3.31.0'
93
93
gem "selenium-webdriver"
94
94
# RuboCop
95
- gem 'rubocop' , '~> 1.8 .1'
95
+ gem 'rubocop' , '~> 1.9 .1'
96
96
gem 'rubocop-performance' , '~> 1.9.0'
97
97
gem 'rubocop-rails' , '~> 2.9.0'
98
98
end
You can’t perform that action at this time.
0 commit comments