diff --git a/.rubocop.yml b/.rubocop.yml index 1ee9ce059..2a4ea50bb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -209,7 +209,7 @@ Style/EmptyElse: EnforcedStyle: empty Style/FormatString: - EnforcedStyle: sprintf + Enabled: false Style/FormatStringToken: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2a40ece79..d04d45727 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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: