Project

General

Profile

Revision 4282fa50

Added by David Davis over 7 years ago

Fixes #9708 - Fixing rubocop config so it can be used with houndci

View differences:

.rubocop.yml
27 27

  
28 28
Metrics/AbcSize:
29 29
  Enabled: false # should we turn this on?
30

  
31
Style/MethodCalledOnDoEndBlock:
32
  Enabled: true
33

  
34
Style/DotPosition:
35
  EnforcedStyle: 'leading'
app/helpers/containers_helper.rb
15 15
  end
16 16

  
17 17
  def link_to_taxonomies(taxonomies)
18
    taxonomies.map do |taxonomy|
19
      link_to(taxonomy)
20
    end.join(' ')
18
    taxonomies.map { |taxonomy| link_to(taxonomy) }.join(" ")
21 19
  end
22 20

  
23 21
  def container_link_hash(container, resource)

Also available in: Unified diff