andela/eventx

View on GitHub
config/initializers/wicked_pdf.rb

Summary

Maintainability
A
0 mins
Test Coverage

Empty line detected around arguments.
Open


  # Layout file to be used for all PDFs
Severity: Minor
Found in config/initializers/wicked_pdf.rb by rubocop

This cops checks if empty lines exist around the arguments of a method invocation.

Example:

# bad
do_something(
  foo

)

process(bar,

        baz: qux,
        thud: fred)

some_method(

  [1,2,3],
  x: y
)

# good
do_something(
  foo
)

process(bar,
        baz: qux,
        thud: fred)

some_method(
  [1,2,3],
  x: y
)

There are no issues that match your filters.

Category
Status