]> source.dussan.org Git - redmine.git/commitdiff
Disable RuboCop Style/FormatString (#39887).
authorGo MAEDA <maeda@farend.jp>
Mon, 22 Jul 2024 08:17:27 +0000 (08:17 +0000)
committerGo MAEDA <maeda@farend.jp>
Mon, 22 Jul 2024 08:17:27 +0000 (08:17 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22943 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml
.rubocop_todo.yml

index 1ee9ce059113fb8c9c0ef1aec2641a379767e63a..2a4ea50bb9b50a45529452ce5328206d679a50e8 100644 (file)
@@ -209,7 +209,7 @@ Style/EmptyElse:
   EnforcedStyle: empty
 
 Style/FormatString:
-  EnforcedStyle: sprintf
+  Enabled: false
 
 Style/FormatStringToken:
   Enabled: false
index 2a40ece7935f8a846bd6ea21a98461d1d0b60abe..d04d4572775146a13609b9d0f7da1e201a8ad2f6 100644 (file)
@@ -1004,18 +1004,6 @@ Style/ExplicitBlockArgument:
     - 'lib/redmine/scm/adapters/subversion_adapter.rb'
     - 'test/test_helper.rb'
 
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: format, sprintf, percent
-Style/FormatString:
-  Exclude:
-    - 'app/models/query.rb'
-    - 'lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb'
-    - 'lib/redmine/export/csv.rb'
-    - 'lib/redmine/helpers/gantt.rb'
-    - 'lib/redmine/i18n.rb'
-    - 'lib/redmine/info.rb'
-
 # Configuration parameters: AllowedVariables.
 Style/GlobalVars:
   Exclude: