gisikw/wildhorn

View on GitHub
lib/wildhorn/episode_collection.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

      TODO
Severity: Minor
Found in lib/wildhorn/episode_collection.rb by fixme

Add an empty line after magic comments.
Open

module Wildhorn
Severity: Minor
Found in lib/wildhorn/episode_collection.rb by rubocop

Checks for a newline after the final magic comment.

Example:

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

Use meaningful heredoc delimiters.
Open

    END
Severity: Minor
Found in lib/wildhorn/episode_collection.rb by rubocop

This cop checks that your heredocs are using meaningful delimiters. By default it disallows END and EO*, and can be configured through blacklisting additional delimiters.

Example:

# good
<<-SQL
  SELECT * FROM foo
SQL

# bad
<<-END
  SELECT * FROM foo
END

# bad
<<-EOS
  SELECT * FROM foo
EOS

There are no issues that match your filters.

Category
Status