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',