nesquena/gitdocs

View on GitHub
config.ru

Summary

Maintainability
Test Coverage

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

  urls: %w(/css /js /img /doc),
Severity: Minor
Found in config.ru 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)

Re-enable Layout/AlignParameters cop with # rubocop:enable after disabling it.
Open

# rubocop:disable AlignParameters
Severity: Minor
Found in config.ru by rubocop

There are no issues that match your filters.

Category
Status