From 3dff73502addfe7525740db1352e23b35a6060e7 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 17:57:11 +0000 Subject: [PATCH] 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 --- .rubocop_todo.yml | 1 - lib/redmine/syntax_highlighting.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5