From 16bacb24f4f921f4b58ea1628de132eb0e911ae1 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 21 Nov 2019 12:45:45 +0000 Subject: [PATCH] rubocop: generate .rubocop_todo.yml for Layout/EmptyLinesAroundModuleBody git-svn-id: http://svn.redmine.org/redmine/trunk@19135 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 375d60c1c..b2f18ed06 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -126,7 +126,27 @@ Layout/EmptyLinesAroundMethodBody: # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: - Enabled: false + Exclude: + - 'app/helpers/attachments_helper.rb' + - 'app/helpers/custom_fields_helper.rb' + - 'app/helpers/email_addresses_helper.rb' + - 'app/helpers/gantt_helper.rb' + - 'app/helpers/issues_helper.rb' + - 'app/helpers/journals_helper.rb' + - 'app/helpers/reports_helper.rb' + - 'app/helpers/routes_helper.rb' + - 'app/helpers/timelog_helper.rb' + - 'app/helpers/trackers_helper.rb' + - 'app/helpers/versions_helper.rb' + - 'app/helpers/watchers_helper.rb' + - 'lib/redmine/access_control.rb' + - 'lib/redmine/activity.rb' + - 'lib/redmine/codeset_util.rb' + - 'lib/redmine/configuration.rb' + - 'lib/redmine/helpers/calendar.rb' + - 'lib/redmine/mime_type.rb' + - 'lib/redmine/plugin.rb' + - 'lib/redmine/search.rb' # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. -- 2.39.5