# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.11.0.
+# using RuboCop version 1.12.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
Lint/ShadowingOuterLocalVariable:
Enabled: false
-# Configuration parameters: AllowComments.
+# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
Exclude:
- 'app/controllers/activities_controller.rb'
Exclude:
- 'app/helpers/attachments_helper.rb'
+# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
- 'lib/redmine/wiki_formatting.rb'
- 'lib/redmine/wiki_formatting/markdown/formatter.rb'
+# Cop supports --auto-correct.
+Style/RedundantBegin:
+ Exclude:
+ - 'app/models/member.rb'
+
# Cop supports --auto-correct.
Style/RedundantCondition:
Exclude:
- 'config/environment.rb'
- 'config/initializers/10-patches.rb'
+# Cop supports --auto-correct.
+Style/StringChars:
+ Exclude:
+ - 'app/models/user.rb'
+
# Cop supports --auto-correct.
Style/StringConcatenation:
Enabled: false
gem "selenium-webdriver"
gem 'webdrivers', '~> 4.4', require: false
# RuboCop
- gem 'rubocop', '~> 1.11.0'
+ gem 'rubocop', '~> 1.12.0'
gem 'rubocop-performance', '~> 1.10.1'
gem 'rubocop-rails', '~> 2.9.0'
end