diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 18:17:25 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 18:17:25 +0000 |
commit | e7121752c2dbb81fead71249c81e24967a0677ea (patch) | |
tree | 0dbe0cdde4e3c6ebdef7a45cd4ab57e30ace6b4f | |
parent | eb18ef819f77b2e6ca8bb8620a61b16960ce583d (diff) | |
download | redmine-e7121752c2dbb81fead71249c81e24967a0677ea.tar.gz redmine-e7121752c2dbb81fead71249c81e24967a0677ea.zip |
rubocop: enable Layout/AlignArguments
git-svn-id: http://svn.redmine.org/redmine/trunk@19058 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | .rubocop.yml | 4 | ||||
-rw-r--r-- | .rubocop_todo.yml | 26 |
2 files changed, 26 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 358474c96..a893304de 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -26,10 +26,6 @@ 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 5415f2205..349506676 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -7,6 +7,32 @@ # 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: + Exclude: + - 'config/application.rb' + - 'lib/redmine/scm/adapters/bazaar_adapter.rb' + - 'lib/redmine/scm/adapters/subversion_adapter.rb' + - 'test/functional/journals_controller_test.rb' + - 'test/functional/my_controller_test.rb' + - 'test/functional/roles_controller_test.rb' + - 'test/integration/api_test/attachments_test.rb' + - 'test/integration/api_test/groups_test.rb' + - 'test/integration/api_test/issue_relations_test.rb' + - 'test/integration/api_test/memberships_test.rb' + - 'test/integration/api_test/projects_test.rb' + - 'test/integration/api_test/wiki_pages_test.rb' + - 'test/test_helper.rb' + - 'test/unit/changeset_test.rb' + - 'test/unit/lib/redmine/field_format/version_field_format_test.rb' + - 'test/unit/lib/redmine/wiki_formatting/html_parser_test.rb' + - 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb' + - 'test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb' + - 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb' + - 'test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb' + +# Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table |