SpeciesFileGroup/taxonworks

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage

Prefer symbols instead of strings as hash keys.
Open

Rake::Task.define_task('webpacker:compile' => ['webpacker:npm_install'])
Severity: Minor
Found in Rakefile by rubocop

This cop checks for the use of strings as keys in hashes. The use of symbols is preferred instead.

Example:

# bad
{ 'one' => 1, 'two' => 2, 'three' => 3 }

# good
{ one: 1, two: 2, three: 3 }

Prefer symbols instead of strings as hash keys.
Open

Rake::Task.define_task('webpacker:verify_install' => ['webpacker:check_npm'])
Severity: Minor
Found in Rakefile by rubocop

This cop checks for the use of strings as keys in hashes. The use of symbols is preferred instead.

Example:

# bad
{ 'one' => 1, 'two' => 2, 'three' => 3 }

# good
{ one: 1, two: 2, three: 3 }

There are no issues that match your filters.

Category
Status