varvet/godmin

View on GitHub
lib/godmin/resources/resource_service.rb

Summary

Maintainability
A
0 mins
Test Coverage

Indent the first parameter one step more than apply_scope(.
Open

                params[:scope], resources_relation

This cop checks the indentation of the first parameter in a method call. Parameters after the first one are checked by Style/AlignParameters, not by this cop.

Example:

# bad
some_method(
first_param,
second_param)

# good
some_method(
  first_param,
second_param)

Indent the first parameter one step more than apply_filters(.
Open

              params[:filter], apply_scope(

This cop checks the indentation of the first parameter in a method call. Parameters after the first one are checked by Style/AlignParameters, not by this cop.

Example:

# bad
some_method(
first_param,
second_param)

# good
some_method(
  first_param,
second_param)

Indent the first parameter one step more than apply_order(.
Open

            params[:order], apply_filters(

This cop checks the indentation of the first parameter in a method call. Parameters after the first one are checked by Style/AlignParameters, not by this cop.

Example:

# bad
some_method(
first_param,
second_param)

# good
some_method(
  first_param,
second_param)

There are no issues that match your filters.

Category
Status