Closed xorimabot closed 3 years ago
Hey! I ran Cookstyle 7.11.1 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Layout/EmptyLinesAroundBlockBody
Layout/TrailingWhitespace
Style/RedundantBegin
begin
Layout/IndentationWidth
Layout/RescueEnsureAlignment
rescue
Timeout.timeout(timeout, JenkinsTimeout) do
block do
Hey! I ran Cookstyle 7.11.1 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Changes
Issues found and resolved with libraries/_helper.rb
Layout/EmptyLinesAroundBlockBody
- Extra empty line detected at block body beginning. (https://rubystyle.guide#empty-lines-around-bodies)Layout/TrailingWhitespace
- Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)Style/RedundantBegin
- Redundantbegin
block detected. (https://rubystyle.guide#begin-implicit)Layout/IndentationWidth
- Use 2 (not 4) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Layout/RescueEnsureAlignment
-rescue
at 450, 8 is not aligned withTimeout.timeout(timeout, JenkinsTimeout) do
at 447, 6.Layout/EmptyLinesAroundBlockBody
- Extra empty line detected at block body end. (https://rubystyle.guide#empty-lines-around-bodies)Layout/TrailingWhitespace
- Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)Issues found and resolved with test/fixtures/cookbooks/jenkins_smoke/recipes/default.rb
Layout/EmptyLinesAroundBlockBody
- Extra empty line detected at block body beginning. (https://rubystyle.guide#empty-lines-around-bodies)Layout/TrailingWhitespace
- Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)Style/RedundantBegin
- Redundantbegin
block detected. (https://rubystyle.guide#begin-implicit)Layout/IndentationWidth
- Use 2 (not 4) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Layout/RescueEnsureAlignment
-rescue
at 106, 4 is not aligned withblock do
at 79, 2.Layout/EmptyLinesAroundBlockBody
- Extra empty line detected at block body end. (https://rubystyle.guide#empty-lines-around-bodies)Layout/TrailingWhitespace
- Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)