From 7870dd73a96d4e5d5d921b38c32db0cd33a675ab Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 16 Oct 2019 13:00:18 +0000 Subject: [PATCH] rubocop: add db/schema.rb to global exclude git-svn-id: http://svn.redmine.org/redmine/trunk@18688 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 1 + .rubocop_todo.yml | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 0381fc488..22b3e0687 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,6 +13,7 @@ AllCops: - '**/lib/generators/**/templates/*' - '**/lib/tasks/**/*' - '**/files/**/*' + - 'db/schema.rb' # Enable extensions diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 56550bfac..c4c66b15d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -147,13 +147,6 @@ Layout/EmptyLinesAroundAccessModifier: - 'config/initializers/10-patches.rb' - 'lib/redmine/syntax_highlighting.rb' -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: empty_lines, no_empty_lines -Layout/EmptyLinesAroundBlockBody: - Exclude: - - 'db/schema.rb' - # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only -- 2.39.5