diff options
author | Go MAEDA <maeda@farend.jp> | 2020-12-06 01:42:56 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-12-06 01:42:56 +0000 |
commit | 7b926116e20842568e0f1a6c3e67bb2f742cf6fa (patch) | |
tree | 12c67e28f850e551ac35d1a4a20fc87018ee741d /.rubocop_todo.yml | |
parent | f43b3685ffb0f7e666e44e3338a8c13b689aa4e5 (diff) | |
download | redmine-7b926116e20842568e0f1a6c3e67bb2f742cf6fa.tar.gz redmine-7b926116e20842568e0f1a6c3e67bb2f742cf6fa.zip |
Update RuboCop Performance to 1.9 (#34159).
git-svn-id: http://svn.redmine.org/redmine/trunk@20582 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a536c9609..c2de6bab6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -500,6 +500,19 @@ Performance/AncestorsInclude: - 'test/unit/issue_priority_test.rb' - 'test/unit/time_entry_activity_test.rb' +# Cop supports --auto-correct. +Performance/BlockGivenWithExplicitBlock: + Exclude: + - 'app/controllers/account_controller.rb' + - 'app/controllers/application_controller.rb' + - 'app/helpers/application_helper.rb' + - 'app/models/mailer.rb' + - 'app/models/user.rb' + - 'lib/redmine/scm/adapters/abstract_adapter.rb' + - 'lib/redmine/views/builders.rb' + - 'lib/redmine/views/builders/structure.rb' + - 'lib/redmine/wiki_formatting/macros.rb' + # Configuration parameters: MinSize. Performance/CollectionLiteralInLoop: Exclude: @@ -521,6 +534,14 @@ Performance/CollectionLiteralInLoop: - 'test/unit/repository_git_test.rb' - 'test/unit/repository_mercurial_test.rb' +# Cop supports --auto-correct. +Performance/ConstantRegexp: + Exclude: + - 'app/models/changeset.rb' + - 'lib/redmine/scm/adapters/cvs_adapter.rb' + - 'lib/redmine/wiki_formatting/textile/formatter.rb' + - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' + Performance/FixedSize: Exclude: - 'test/integration/api_test/issues_test.rb' |