Issues found and resolved with resources/multibos.rb
20:1 refactor: ChefRedundantCode/UnnecessaryNameProperty - There is no need to define a property or attribute named :name in a resource as Chef Infra defines this on all resources by default.
20:1 convention: Layout/EmptyLines - Extra blank line detected.
Issues found and resolved with resources/nimclient.rb
Hey! I ran Cookstyle 6.2.9 against this repo and here are the results. This repo was selected due to the topics of cookbook
Changes
Issues found and resolved with examples/patch_by_flrtvc.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with examples/update_by_suma.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with examples/update_by_suma_latest.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with examples/vios_altdisk_copy.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with examples/vios_check.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with examples/vios_update.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with examples/vios_update_interactive.rb
Lint/SendWithMixinArgument
- Useinclude AIX::PatchMgmt
instead ofsend(:include, AIX::PatchMgmt)
.Issues found and resolved with libraries/lvmobj_fs.rb
Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with libraries/patch_mgmt.rb
Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.Issues found and resolved with libraries/storage_objects.rb
Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/NegatedIf
- Favorunless
overif
for negative conditions.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with libraries/tools.rb
Style/RedundantReturn
- Redundantreturn
detected.Style/EmptyElse
- Redundantelse
-clause.Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with providers/altdisk.rb
Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with resources/multibos.rb
ChefRedundantCode/UnnecessaryNameProperty
- There is no need to define a property or attribute named :name in a resource as Chef Infra defines this on all resources by default.Layout/EmptyLines
- Extra blank line detected.Issues found and resolved with resources/nimclient.rb
Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with resources/nimviosupdate.rb
Style/HashEachMethods
- Useeach_key
instead ofkeys.each
.