Uncouple from the puppet_litmus gem #175
Annotations
10 errors
Run Static & Syntax Tests:
lib/inventory_helper.rb#L6
Style/Documentation: Missing top-level documentation comment for `class InventoryHelper`.
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L23
Style/RedundantSelf: Redundant `self` detected. (https://rubystyle.guide#no-self-unless-required)
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L51
Layout/SpaceAroundEqualsInParameterDefault: Surrounding space missing in default value assignment. (https://rubystyle.guide#spaces-around-equals)
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L56
Style/Next: Use `next` to skip iteration. (https://rubystyle.guide#no-nested-conditionals)
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L72
Style/InverseMethods: Use `reject!` instead of inverting `select!`.
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L96
Style/EmptyLiteral: Use hash literal `{}` instead of `Hash.new`. (https://rubystyle.guide#literal-array-hash)
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L97
Style/RedundantSelf: Redundant `self` detected. (https://rubystyle.guide#no-self-unless-required)
|
Run Static & Syntax Tests:
lib/inventory_helper.rb#L98
Style/RedundantReturn: Redundant `return` detected. (https://rubystyle.guide#no-explicit-return)
|
Run Static & Syntax Tests:
tasks/abs.rb#L124
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - `node`.
|
Run Static & Syntax Tests
Process completed with exit code 1.
|
Loading