Closed xorimabot closed 3 years ago
Hey! I ran Cookstyle 7.10.0 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Style/RedundantBegin
begin
Layout/IndentationWidth
Layout/ElseAlignment
elsif
if
Layout/EndAlignment
end
Layout/EmptyLinesAroundMethodBody
Layout/TrailingWhitespace
else
Generated by :no_entry_sign: Danger
Released as: 8.2.3
Hey! I ran Cookstyle 7.10.0 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/job.rb
Style/RedundantBegin
- Redundantbegin
block detected. (https://rubystyle.guide#begin-implicit)Layout/IndentationWidth
- Use 2 (not -15) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Layout/ElseAlignment
- Alignelsif
withif
.Layout/IndentationWidth
- Use 2 (not -15) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Layout/EndAlignment
-end
at 340, 8 is not aligned withif
at 336, 25.Layout/EmptyLinesAroundMethodBody
- Extra empty line detected at method 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 libraries/slave_windows.rb
Style/RedundantBegin
- Redundantbegin
block detected. (https://rubystyle.guide#begin-implicit)Layout/IndentationWidth
- Use 2 (not -13) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Layout/EndAlignment
-end
at 273, 8 is not aligned withif
at 271, 23.Layout/EmptyLinesAroundMethodBody
- Extra empty line detected at method body end. (https://rubystyle.guide#empty-lines-around-bodies)Layout/TrailingWhitespace
- Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)Layout/IndentationWidth
- Use 2 (not -14) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Style/RedundantBegin
- Redundantbegin
block detected. (https://rubystyle.guide#begin-implicit)Layout/ElseAlignment
- Alignelse
withif
.Layout/IndentationWidth
- Use 2 (not -14) spaces for indentation. (https://rubystyle.guide#spaces-indentation)Layout/EndAlignment
-end
at 288, 8 is not aligned withif
at 284, 24.Layout/EmptyLinesAroundMethodBody
- Extra empty line detected at method body end. (https://rubystyle.guide#empty-lines-around-bodies)Layout/TrailingWhitespace
- Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)