ignar/rom-elasticsearch

View on GitHub

Showing 2 of 2 total issues

Unused method argument - name. If it's necessary, use _ or _name as an argument name to indicate that it won't be used. You can also write as dataset?(*) if you want the method to accept any arguments but don't care about them.
Open

      def dataset?(name)
Severity: Minor
Found in lib/rom/elasticsearch/gateway.rb by rubocop

This cop checks for unused method arguments.

Example:

# bad

def some_method(used, unused, _unused_but_allowed)
  puts used
end

Example:

# good

def some_method(used, _unused, _unused_but_allowed)
  puts used
end

TODO found
Open

TODO: Write usage instructions here
Severity: Minor
Found in README.md by fixme
Severity
Category
Status
Source
Language