mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Update RuboCop to 1.53 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22265 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e41551632d
commit
6e21d3adde
@ -1,6 +1,6 @@
|
||||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
|
||||
# using RuboCop version 1.52.0.
|
||||
# using RuboCop version 1.53.1.
|
||||
# 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
|
||||
@ -537,10 +537,11 @@ Rails/ContentTag:
|
||||
- 'lib/redmine/wiki_formatting/markdown/formatter.rb'
|
||||
|
||||
# Configuration parameters: Include.
|
||||
# Include: db/migrate/*.rb
|
||||
# Include: db/**/*.rb
|
||||
Rails/CreateTableWithTimestamps:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: EnforcedStyle, AllowToTime.
|
||||
# SupportedStyles: strict, flexible
|
||||
Rails/Date:
|
||||
@ -1478,14 +1479,28 @@ Style/RedundantParentheses:
|
||||
- 'test/unit/user_test.rb'
|
||||
- 'test/unit/version_test.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
Style/RedundantRegexpCharacterClass:
|
||||
Exclude:
|
||||
- 'app/helpers/application_helper.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
Style/RedundantRegexpEscape:
|
||||
Enabled: false
|
||||
Exclude:
|
||||
- 'app/controllers/settings_controller.rb'
|
||||
- 'app/helpers/application_helper.rb'
|
||||
- 'app/helpers/issues_helper.rb'
|
||||
- 'app/models/mail_handler.rb'
|
||||
- 'app/models/mailer.rb'
|
||||
- 'app/models/repository/subversion.rb'
|
||||
- 'app/models/wiki.rb'
|
||||
- 'lib/redmine/acts/mentionable.rb'
|
||||
- 'lib/redmine/diff_table.rb'
|
||||
- 'lib/redmine/helpers/url.rb'
|
||||
- 'lib/redmine/i18n.rb'
|
||||
- 'lib/redmine/plugin.rb'
|
||||
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
|
||||
- 'lib/redmine/scm/adapters/bazaar_adapter.rb'
|
||||
- 'lib/redmine/wiki_formatting/links_helper.rb'
|
||||
- 'lib/redmine/wiki_formatting/macros.rb'
|
||||
- 'lib/redmine/wiki_formatting/section_helper.rb'
|
||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
||||
- 'test/helpers/application_helper_test.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AllowMultipleReturnValues.
|
||||
|
||||
2
Gemfile
2
Gemfile
@ -103,7 +103,7 @@ group :test do
|
||||
gem "selenium-webdriver", "~> 3.142.7"
|
||||
gem 'webdrivers', '4.6.1', require: false
|
||||
# RuboCop
|
||||
gem 'rubocop', '~> 1.52.0', require: false
|
||||
gem 'rubocop', '~> 1.53.1', require: false
|
||||
gem 'rubocop-performance', '~> 1.18.0', require: false
|
||||
gem 'rubocop-rails', '~> 2.20.2', require: false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user