-
- Downloads
Added RuboCop cops to enforce code reuse rules
These Cops enforces the code reuse rules as defined in merge request https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21254.
parent
c56f2b96
No related branches found
No related tags found
Showing
- rubocop/code_reuse_helpers.rb 156 additions, 0 deletionsrubocop/code_reuse_helpers.rb
- rubocop/cop/code_reuse/active_record.rb 170 additions, 0 deletionsrubocop/cop/code_reuse/active_record.rb
- rubocop/cop/code_reuse/finder.rb 39 additions, 0 deletionsrubocop/cop/code_reuse/finder.rb
- rubocop/cop/code_reuse/presenter.rb 41 additions, 0 deletionsrubocop/cop/code_reuse/presenter.rb
- rubocop/cop/code_reuse/serializer.rb 41 additions, 0 deletionsrubocop/cop/code_reuse/serializer.rb
- rubocop/cop/code_reuse/service_class.rb 39 additions, 0 deletionsrubocop/cop/code_reuse/service_class.rb
- rubocop/cop/code_reuse/worker.rb 56 additions, 0 deletionsrubocop/cop/code_reuse/worker.rb
- rubocop/rubocop.rb 6 additions, 0 deletionsrubocop/rubocop.rb
- spec/rubocop/code_reuse_helpers_spec.rb 249 additions, 0 deletionsspec/rubocop/code_reuse_helpers_spec.rb
- spec/rubocop/cop/code_reuse/active_record_spec.rb 138 additions, 0 deletionsspec/rubocop/cop/code_reuse/active_record_spec.rb
- spec/rubocop/cop/code_reuse/finder_spec.rb 77 additions, 0 deletionsspec/rubocop/cop/code_reuse/finder_spec.rb
- spec/rubocop/cop/code_reuse/presenter_spec.rb 117 additions, 0 deletionsspec/rubocop/cop/code_reuse/presenter_spec.rb
- spec/rubocop/cop/code_reuse/serializer_spec.rb 117 additions, 0 deletionsspec/rubocop/cop/code_reuse/serializer_spec.rb
- spec/rubocop/cop/code_reuse/service_class_spec.rb 89 additions, 0 deletionsspec/rubocop/cop/code_reuse/service_class_spec.rb
- spec/rubocop/cop/code_reuse/worker_spec.rb 104 additions, 0 deletionsspec/rubocop/cop/code_reuse/worker_spec.rb
rubocop/code_reuse_helpers.rb
0 → 100644
rubocop/cop/code_reuse/active_record.rb
0 → 100644
rubocop/cop/code_reuse/finder.rb
0 → 100644
rubocop/cop/code_reuse/presenter.rb
0 → 100644
rubocop/cop/code_reuse/serializer.rb
0 → 100644
rubocop/cop/code_reuse/service_class.rb
0 → 100644
rubocop/cop/code_reuse/worker.rb
0 → 100644
spec/rubocop/code_reuse_helpers_spec.rb
0 → 100644
spec/rubocop/cop/code_reuse/finder_spec.rb
0 → 100644
spec/rubocop/cop/code_reuse/worker_spec.rb
0 → 100644
Please register or sign in to comment