Showing 1,009 of 1,009 total issues
Prefer single-quoted strings inside interpolations. Open
Open
"add_attachment_#{attachment_names.join("_")}_to_#{name.underscore.pluralize}"
- Read upRead up
- Exclude checks
This cop checks that quotes inside the string interpolation match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
result = "Tests #{success ? "PASS" : "FAIL"}"
# good
result = "Tests #{success ? 'PASS' : 'FAIL'}"
Example: EnforcedStyle: double_quotes
# bad
result = "Tests #{success ? 'PASS' : 'FAIL'}"
# good
result = "Tests #{success ? "PASS" : "FAIL"}"
HACK found Open
Open
- HACK
- Exclude checks
TODO found Open
Open
- TODO
- Exclude checks
TODO found Open
Open
s.add_development_dependency('cucumber-expressions', '4.0.3') # TODO: investigate failures on 4.0.4
- Exclude checks
HACK found Open
Open
Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
- Exclude checks
FIXME found Open
Open
Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
- Exclude checks
TODO found Open
Open
Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
- Exclude checks
FIXME found Open
Open
- FIXME
- Exclude checks
TODO found Open
Open
# TODO: is it even possible to take into account Procs?
- Exclude checks