From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 17:57:11 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/EmptyLinesAroundAccessModifier in lib/redmine/syntax_hig... X-Git-Tag: 4.1.0~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3dff73502addfe7525740db1352e23b35a6060e7;p=redmine.git cleanup: rubocop: fix Layout/EmptyLinesAroundAccessModifier in lib/redmine/syntax_highlighting.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19048 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1ceff99b9..2233e177e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -55,7 +55,6 @@ Layout/EmptyLines: Layout/EmptyLinesAroundAccessModifier: Exclude: - 'config/initializers/10-patches.rb' - - 'lib/redmine/syntax_highlighting.rb' # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. diff --git a/lib/redmine/syntax_highlighting.rb b/lib/redmine/syntax_highlighting.rb index b8bc6526f..03935705c 100644 --- a/lib/redmine/syntax_highlighting.rb +++ b/lib/redmine/syntax_highlighting.rb @@ -115,6 +115,7 @@ module Redmine end private + # Alias names used by CodeRay and not supported by Rouge LANG_ALIASES = { 'delphi' => 'pascal',