SpeciesFileGroup/taxonworks

View on GitHub
app/views/tasks/observation_matrices/image_matrix/key.json.jbuilder

Summary

Maintainability
Test Coverage

Use 2 (not 4) spaces for indentation.
Open

      json.array! depiction do |d|

This cop checks for indentation that doesn't use the specified number of spaces.

See also the IndentationConsistency cop which is the companion to this one.

Example:

# bad
class A
 def test
  puts 'hello'
 end
end

# good
class A
  def test
    puts 'hello'
  end
end

Example: IgnoredPatterns: ['^\s*module']

# bad
module A
class B
  def test
  puts 'hello'
  end
end
end

# good
module A
class B
  def test
    puts 'hello'
  end
end
end

There are no issues that match your filters.

Category
Status