diff options
author | Go MAEDA <maeda@farend.jp> | 2025-04-12 05:09:41 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2025-04-12 05:09:41 +0000 |
commit | 3d0a5dd763bfa1f15eaee364ef171b3e529a3e38 (patch) | |
tree | f6b4196578eccef2fdccc547792bdd55d7611d2e | |
parent | aa1a4f29015888d9921e12c551f30f10b0b4b6c5 (diff) | |
download | redmine-3d0a5dd763bfa1f15eaee364ef171b3e529a3e38.tar.gz redmine-3d0a5dd763bfa1f15eaee364ef171b3e529a3e38.zip |
Disable RuboCop Style/BarePercentLiterals (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23647 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | .rubocop.yml | 3 | ||||
-rw-r--r-- | .rubocop_todo.yml | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 686b0a0aa..c0d157343 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0ce1bc39c..3fffc0833 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: |