mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Update RuboCop to 0.74.0 (#31509).
git-svn-id: http://svn.redmine.org/redmine/trunk@18371 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f036c984e9
commit
76788318a7
@ -1,6 +1,6 @@
|
||||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
|
||||
# using RuboCop version 0.72.0.
|
||||
# using RuboCop version 0.74.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
|
||||
@ -313,6 +313,7 @@ Layout/IndentationWidth:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowDoxygenCommentStyle.
|
||||
Layout/LeadingCommentSpace:
|
||||
Exclude:
|
||||
- 'app/controllers/repositories_controller.rb'
|
||||
@ -602,6 +603,11 @@ Lint/InterpolationCheck:
|
||||
Exclude:
|
||||
- 'app/models/user.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
Lint/LiteralInInterpolation:
|
||||
Exclude:
|
||||
- 'test/unit/mail_handler_test.rb'
|
||||
|
||||
Lint/Loop:
|
||||
Exclude:
|
||||
- 'lib/redmine/helpers/gantt.rb'
|
||||
@ -670,6 +676,7 @@ Lint/UselessAccessModifier:
|
||||
- 'app/models/changeset.rb'
|
||||
- 'app/models/watcher.rb'
|
||||
- 'lib/redmine/themes.rb'
|
||||
- 'test/functional/repositories_git_controller_test.rb'
|
||||
|
||||
Lint/UselessAssignment:
|
||||
Enabled: false
|
||||
@ -1499,20 +1506,9 @@ Style/NumericLiteralPrefix:
|
||||
- 'test/unit/user_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: MinDigits, Strict.
|
||||
# Configuration parameters: Strict.
|
||||
Style/NumericLiterals:
|
||||
Exclude:
|
||||
- 'db/schema.rb'
|
||||
- 'lib/redmine/database.rb'
|
||||
- 'test/functional/issues_controller_test.rb'
|
||||
- 'test/functional/messages_controller_test.rb'
|
||||
- 'test/helpers/application_helper_test.rb'
|
||||
- 'test/unit/lib/redmine/i18n_test.rb'
|
||||
- 'test/unit/lib/redmine/plugin_test.rb'
|
||||
- 'test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb'
|
||||
- 'test/unit/mail_handler_test.rb'
|
||||
- 'test/unit/search_test.rb'
|
||||
- 'test/unit/time_entry_test.rb'
|
||||
MinDigits: 9
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
||||
|
||||
4
Gemfile
4
Gemfile
@ -84,8 +84,8 @@ group :test do
|
||||
gem "capybara", (RUBY_VERSION < "2.4" ? "~> 3.15.1" : "~> 3.25.0")
|
||||
gem "selenium-webdriver"
|
||||
# RuboCop
|
||||
gem 'rubocop', '~> 0.72.0'
|
||||
gem 'rubocop-rails', '~> 2.1.0'
|
||||
gem 'rubocop', '~> 0.74.0'
|
||||
gem 'rubocop-rails', '~> 2.3.0'
|
||||
end
|
||||
|
||||
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user