sgmap/boussole

View on GitHub
lib/tasks/linters.rake

Summary

Maintainability
Test Coverage

%i-literals should be delimited by [ and ].
Open

  multitask all: %i(i18n haml scss yaml inch rubocop)
Severity: Minor
Found in lib/tasks/linters.rake by rubocop

This cop enforces the consistent usage of %-literal delimiters.

Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

Example:

# Style/PercentLiteralDelimiters:
#   PreferredDelimiters:
#     default: '[]'
#     '%i':    '()'

# good
%w[alpha beta] + %i(gamma delta)

# bad
%W(alpha #{beta})

# bad
%I(alpha beta)

Unnecessary utf-8 encoding comment.
Open

# encoding: utf-8
Severity: Minor
Found in lib/tasks/linters.rake by rubocop

There are no issues that match your filters.

Category
Status