diff options
author | Go MAEDA <maeda@farend.jp> | 2019-11-29 07:57:22 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-11-29 07:57:22 +0000 |
commit | 84ab182bc0737b4b8fdd56172dca4af2170d950f (patch) | |
tree | 8ed91e145c36e406ea9565859f4db4bb6811f620 /.rubocop_todo.yml | |
parent | 4471399e33a9793a4885e62ddb55c0d512f354fc (diff) | |
download | redmine-84ab182bc0737b4b8fdd56172dca4af2170d950f.tar.gz redmine-84ab182bc0737b4b8fdd56172dca4af2170d950f.zip |
Update RuboCop Rails to 2.4 (#32531).
git-svn-id: http://svn.redmine.org/redmine/trunk@19321 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9c8ca1fc9..9667387e6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -578,6 +578,19 @@ Rails/ActiveRecordOverride: - 'app/models/member.rb' # Cop supports --auto-correct. +Rails/ApplicationController: + Exclude: + - 'app/controllers/mail_handler_controller.rb' + - 'app/controllers/sys_controller.rb' + - 'test/unit/lib/redmine/hook_test.rb' + +# Cop supports --auto-correct. +Rails/ApplicationMailer: + Exclude: + - 'app/models/mail_handler.rb' + - 'app/models/mailer.rb' + +# Cop supports --auto-correct. Rails/ApplicationRecord: Enabled: false @@ -650,7 +663,24 @@ Rails/Exit: # Configuration parameters: EnforcedStyle. # SupportedStyles: slashes, arguments Rails/FilePath: - Enabled: false + Exclude: + - 'app/models/attachment.rb' + - 'app/models/import.rb' + - 'app/models/setting.rb' + - 'config/environment.rb' + - 'config/initializers/00-core_plugins.rb' + - 'config/initializers/10-patches.rb' + - 'lib/redmine/configuration.rb' + - 'lib/redmine/export/pdf.rb' + - 'lib/redmine/plugin.rb' + - 'lib/redmine/version.rb' + - 'test/application_system_test_case.rb' + - 'test/functional/custom_fields_controller_test.rb' + - 'test/functional/settings_controller_test.rb' + - 'test/test_helper.rb' + - 'test/unit/lib/redmine/configuration_test.rb' + - 'test/unit/lib/redmine/i18n_test.rb' + - 'test/unit/lib/redmine/plugin_test.rb' # Cop supports --auto-correct. # Configuration parameters: Include. |