mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Update RuboCop to 1.56 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22278 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5aec6e36f1
commit
679ba509da
@ -73,6 +73,9 @@ Layout/SpaceBeforeBlockBraces:
|
||||
# str = path.to_s.split(%r{[/\\]}).select{|p| !p.blank?}.join("/")
|
||||
Enabled: false
|
||||
|
||||
Layout/SpaceBeforeFirstArg:
|
||||
Enabled: false
|
||||
|
||||
Layout/SpaceInsideBlockBraces:
|
||||
Enabled: false
|
||||
|
||||
@ -239,6 +242,9 @@ Style/SlicingWithRange:
|
||||
Style/SoleNestedConditional:
|
||||
Enabled: false
|
||||
|
||||
Style/StringLiteralsInInterpolation:
|
||||
Enabled: false
|
||||
|
||||
Style/TernaryParentheses:
|
||||
Enabled: false
|
||||
|
||||
|
||||
@ -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.54.2.
|
||||
# using RuboCop version 1.56.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
|
||||
@ -221,16 +221,6 @@ Layout/SpaceAfterNot:
|
||||
Layout/SpaceAroundOperators:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AllowForAlignment.
|
||||
Layout/SpaceBeforeFirstArg:
|
||||
Exclude:
|
||||
- 'test/helpers/issues_helper_test.rb'
|
||||
- 'test/unit/lib/redmine/menu_manager_test.rb'
|
||||
- 'test/unit/repository_git_test.rb'
|
||||
- 'test/unit/token_test.rb'
|
||||
- 'test/unit/user_import_test.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
@ -1615,18 +1605,6 @@ Style/StringConcatenation:
|
||||
Style/StringLiterals:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: single_quotes, double_quotes
|
||||
Style/StringLiteralsInInterpolation:
|
||||
Exclude:
|
||||
- 'app/models/issue_query.rb'
|
||||
- 'config/environment.rb'
|
||||
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
||||
- 'lib/redmine/wiki_formatting/links_helper.rb'
|
||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
||||
- 'test/unit/member_test.rb'
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
Style/StructInheritance:
|
||||
Exclude:
|
||||
|
||||
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.54.0', require: false
|
||||
gem 'rubocop', '~> 1.56.0', 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