Disable RuboCop Style/BarePercentLiterals (#41884).

git-svn-id: https://svn.redmine.org/redmine/trunk@23647 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2025-04-12 05:09:41 +00:00
parent aa1a4f2901
commit 3d0a5dd763
2 changed files with 3 additions and 7 deletions

View File

@@ -200,6 +200,9 @@ Style/AsciiComments:
# We can not change nor remove it.
- 'app/models/repository/git.rb'
Style/BarePercentLiterals:
Enabled: false
Style/BlockComments:
Exclude:
- 'lib/redmine/string_array_diff/diff.rb'

View File

@@ -694,13 +694,6 @@ Style/AndOr:
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: percent_q, bare_percent
Style/BarePercentLiterals:
Exclude:
- 'test/integration/api_test/api_test.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: MinBranchesCount.
Style/CaseLikeIf: