thoughtbot/paperclip

View on GitHub

Showing 1,009 of 1,009 total issues

Prefer single-quoted strings inside interpolations.
Open

    "add_attachment_#{attachment_names.join("_")}_to_#{name.underscore.pluralize}"

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

  - HACK
Severity: Minor
Found in .hound.yml by fixme

TODO found
Open

  - TODO
Severity: Minor
Found in .hound.yml by fixme

TODO found
Open

  s.add_development_dependency('cucumber-expressions', '4.0.3') # TODO: investigate failures on 4.0.4
Severity: Minor
Found in paperclip.gemspec by fixme

HACK found
Open

  Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
Severity: Minor
Found in .hound.yml by fixme

FIXME found
Open

  Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
Severity: Minor
Found in .hound.yml by fixme

TODO found
Open

  Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
Severity: Minor
Found in .hound.yml by fixme

FIXME found
Open

  - FIXME
Severity: Minor
Found in .hound.yml by fixme

TODO found
Open

        # TODO: is it even possible to take into account Procs?
Severity
Category
Status
Source
Language