From: Toshi MARUYAMA Date: Wed, 23 Oct 2019 06:44:20 +0000 (+0000) Subject: rubocop: move Layout/AlignArguments temporarily from .rubocop_todo.yml to .rubocop.yml X-Git-Tag: 4.1.0~253 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=082f1eed51adb3fbfa31e9147c2b7bd60a4f0215;p=redmine.git rubocop: move Layout/AlignArguments temporarily from .rubocop_todo.yml to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@18850 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop.yml b/.rubocop.yml index de715431b..8a92acfd3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -26,6 +26,10 @@ require: Bundler/OrderedGems: Enabled: false +# You can see results by changing "Enabled: true" and "rubocop --only Layout/AlignArguments" +Layout/AlignArguments: + Enabled: false + Layout/EmptyLineBetweenDefs: AllowAdjacentOneLineDefs: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6d56c75a0..8517c19ce 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,12 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, IndentationWidth. -# SupportedStyles: with_first_argument, with_fixed_indentation -Layout/AlignArguments: - Enabled: false - # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table