@@ -524,6 +524,34 @@ Naming/VariableNumber:
524
524
- ' test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
525
525
- ' test/unit/project_test.rb'
526
526
527
+ # Cop supports --auto-correct.
528
+ Performance/AncestorsInclude :
529
+ Exclude :
530
+ - ' test/unit/document_category_test.rb'
531
+ - ' test/unit/issue_priority_test.rb'
532
+ - ' test/unit/time_entry_activity_test.rb'
533
+
534
+ # Configuration parameters: MinSize.
535
+ Performance/CollectionLiteralInLoop :
536
+ Exclude :
537
+ - ' app/helpers/imports_helper.rb'
538
+ - ' app/helpers/queries_helper.rb'
539
+ - ' app/helpers/settings_helper.rb'
540
+ - ' app/helpers/timelog_helper.rb'
541
+ - ' app/models/issue.rb'
542
+ - ' app/models/workflow_transition.rb'
543
+ - ' lib/redmine/helpers/time_report.rb'
544
+ - ' lib/redmine/scm/adapters/filesystem_adapter.rb'
545
+ - ' lib/redmine/wiki_formatting/textile/redcloth3.rb'
546
+ - ' test/functional/issues_custom_fields_visibility_test.rb'
547
+ - ' test/functional/repositories_git_controller_test.rb'
548
+ - ' test/functional/repositories_mercurial_controller_test.rb'
549
+ - ' test/functional/timelog_custom_fields_visibility_test.rb'
550
+ - ' test/unit/lib/redmine/scm/adapters/git_adapter_test.rb'
551
+ - ' test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
552
+ - ' test/unit/repository_git_test.rb'
553
+ - ' test/unit/repository_mercurial_test.rb'
554
+
527
555
Performance/FixedSize :
528
556
Exclude :
529
557
- ' test/integration/api_test/issues_test.rb'
@@ -552,6 +580,20 @@ Performance/RedundantMerge:
552
580
- ' test/unit/issue_import_test.rb'
553
581
- ' test/unit/time_entry_import_test.rb'
554
582
583
+ # Cop supports --auto-correct.
584
+ Performance/Squeeze :
585
+ Exclude :
586
+ - ' test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb'
587
+
588
+ # Cop supports --auto-correct.
589
+ # Configuration parameters: AutoCorrect.
590
+ Performance/StringInclude :
591
+ Exclude :
592
+ - ' test/functional/versions_controller_test.rb'
593
+ - ' test/integration/sessions_test.rb'
594
+ - ' test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb'
595
+ - ' test/unit/lib/redmine/wiki_formatting/macros_test.rb'
596
+
555
597
# Cop supports --auto-correct.
556
598
Performance/StringReplacement :
557
599
Exclude :
@@ -569,6 +611,11 @@ Performance/StringReplacement:
569
611
- ' test/unit/repository_cvs_test.rb'
570
612
- ' test/unit/repository_git_test.rb'
571
613
614
+ # Cop supports --auto-correct.
615
+ Performance/Sum :
616
+ Exclude :
617
+ - ' app/helpers/issues_helper.rb'
618
+
572
619
# Cop supports --auto-correct.
573
620
# Configuration parameters: Include.
574
621
# Include: app/models/**/*.rb
0 commit comments