lujanfernaud/prevy

View on GitHub
app/queries/user_groups_query.rb

Summary

Maintainability
A
0 mins
Test Coverage

Place the . on the next line, together with the method name.
Open

    relation.
Severity: Minor
Found in app/queries/user_groups_query.rb by rubocop

This cop checks the . position in multi-line method calls.

Example: EnforcedStyle: leading (default)

# bad
something.
  mehod

# good
something
  .method

Example: EnforcedStyle: trailing

# bad
something
  .method

# good
something.
  mehod

Place the . on the next line, together with the method name.
Open

      ).
Severity: Minor
Found in app/queries/user_groups_query.rb by rubocop

This cop checks the . position in multi-line method calls.

Example: EnforcedStyle: leading (default)

# bad
something.
  mehod

# good
something
  .method

Example: EnforcedStyle: trailing

# bad
something
  .method

# good
something.
  mehod

Align the parameters of a method call if they span more than one line.
Open

         user: user
Severity: Minor
Found in app/queries/user_groups_query.rb by rubocop

Here we check if the parameters on a multi-line method call or definition are aligned.

Example: EnforcedStyle: withfirstparameter (default)

# good

foo :bar,
    :baz

# bad

foo :bar,
  :baz

Example: EnforcedStyle: withfixedindentation

# good

foo :bar,
  :baz

# bad

foo :bar,
    :baz

There are no issues that match your filters.

Category
Status