Assets investigation - data extraction rake tasks #10559
Annotations
10 errors
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L5
Layout/SpaceBeforeBlockBraces: Space missing to the left of {.
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L5
Layout/SpaceInsideBlockBraces: Space between { and | missing.
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L5
Layout/SpaceInsideBlockBraces: Space missing inside }.
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L7
Style/StringLiteralsInInterpolation: Prefer single-quoted strings inside interpolations.
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L14
Style/MethodDefParentheses: Use def with parentheses when there are parameters. (https://rubystyle.guide#method-parens)
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L15
Style/NonNilCheck: Prefer `!states[-1].nil?` over `states[-1] != nil`. (https://rubystyle.guide#no-non-nil-checks)
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L16
Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
|
Run RuboCop:
lib/tasks/attachments/check_attachables.rake#L18
Layout/TrailingEmptyLines: Final newline missing. (https://rubystyle.guide#newline-eof)
|
Run RuboCop:
lib/tasks/attachments/investigate_ad_deleted_not_replaced_in_wh.rake#L18
Style/DoubleNegation: Avoid the use of double negation (`!!`). (https://rubystyle.guide#no-bang-bang)
|
Run RuboCop:
lib/tasks/attachments/investigate_ad_deleted_not_replaced_in_wh.rake#L19
Style/DoubleNegation: Avoid the use of double negation (`!!`). (https://rubystyle.guide#no-bang-bang)
|
Loading