otherguy/rspec-sonarqube-formatter

View on GitHub
lib/rspec_sonarqube_formatter.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Align the parameters of a method call if they span more than one line. (https://github.com/bbatsov/ruby-style-guide#no-double-indent)
Open

    :start, :stop, :example_group_started, :example_started, :example_passed, :example_failed, :example_pending
Severity: Minor
Found in lib/rspec_sonarqube_formatter.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