]> source.dussan.org Git - redmine.git/commitdiff
rubocop: generate .rubocop_todo.yml for Layout/EmptyLinesAroundModuleBody
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 21 Nov 2019 12:45:45 +0000 (12:45 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 21 Nov 2019 12:45:45 +0000 (12:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19135 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml

index 375d60c1cea22cc3d893c6cbf82ffe3088532116..b2f18ed062ba984534ba5b823597923e1829c70d 100644 (file)
@@ -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.