Copilot commented on code in PR #3717:
URL: https://github.com/apache/thrift/pull/3717#discussion_r3792022116


##########
lib/rb/.rubocop.yml:
##########
@@ -9,24 +9,94 @@ AllCops:
   Exclude:
     - "**/vendor/**/*"
 
+Layout/ArgumentAlignment:
+  Enabled: true
+
+Layout/ArrayAlignment:
+  Enabled: true
+
+Layout/BlockAlignment:
+  Enabled: true
+  EnforcedStyleAlignWith: start_of_block
+
+Layout/CaseIndentation:
+  Enabled: true
+  EnforcedStyle: end
+
+Layout/ClosingParenthesisIndentation:
+  Enabled: true
+
+Layout/CommentIndentation:
+  Enabled: true
+
 Layout/EmptyLines:
   Enabled: true
 
 Layout/EmptyLinesAroundBlockBody:
   Enabled: true
 
+Layout/ElseAlignment:
+  Enabled: true
+
+Layout/EndAlignment:
+  Enabled: true
+  EnforcedStyleAlignWith: variable
+
 Layout/ExtraSpacing:
   Enabled: true
 
+Layout/FirstArgumentIndentation:
+  Enabled: true
+
+Layout/FirstArrayElementIndentation:
+  Enabled: true
+  EnforcedStyle: consistent
+
+Layout/FirstArrayElementLineBreak:
+  Enabled: true
+
+Layout/FirstHashElementIndentation:
+  Enabled: true
+  EnforcedStyle: consistent
+
+Layout/FirstHashElementLineBreak:
+  Enabled: true
+
+Layout/FirstMethodArgumentLineBreak:
+  Enabled: true
+  AllowMultilineFinalElement: true
+
+Layout/HashAlignment:
+  Enabled: true
+  EnforcedHashRocketStyle:
+    - key
+    - table

Review Comment:
   `Layout/HashAlignment`'s `EnforcedHashRocketStyle` is configured as a YAML 
list ("key" and "table"), but RuboCop expects a single style value. This will 
likely be treated as an invalid configuration and break linting; pick one style 
(e.g. `table`).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to