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
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 recipes/service.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 59, 4 is not aligned withblock do
at 56, 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)