public-market/spree_batch_api

View on GitHub
app/overrides/spree/admin/shared/product_tabs.rb

Summary

Maintainability
A
0 mins
Test Coverage

HTML is not aligned with text: <<-HTML.
Open

              HTML

Checks the indentation of here document closings.

Example:

# bad
class Foo
  def bar
    <<~SQL
      'Hi'
  SQL
  end
end

# good
class Foo
  def bar
    <<~SQL
      'Hi'
    SQL
  end
end

# bad

# heredoc contents is before closing heredoc.
foo arg,
    <<~EOS
  Hi
    EOS

# good
foo arg,
    <<~EOS
  Hi
EOS

# good
foo arg,
    <<~EOS
      Hi
    EOS

There are no issues that match your filters.

Category
Status