# str = path.to_s.split(%r{[/\\]}).select{|p| !p.blank?}.join("/")
Enabled: false
+Layout/SpaceBeforeFirstArg:
+ Enabled: false
+
Layout/SpaceInsideBlockBraces:
Enabled: false
Style/SoleNestedConditional:
Enabled: false
+Style/StringLiteralsInInterpolation:
+ Enabled: false
+
Style/TernaryParentheses:
Enabled: false
# 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
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
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:
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