Skip to content

Commit

Permalink
Place constants right after the includes
Browse files Browse the repository at this point in the history
So type_member and type_template are at the top.

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
  • Loading branch information
Morriar committed Jun 30, 2022
1 parent f210297 commit 59bf217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/rbi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Layout/ClassStructure:
Enabled: true
ExpectedOrder:
- module_inclusion
- constants
- macros
- public_attribute_macros
- protected_attribute_macros
Expand All @@ -34,7 +35,6 @@ Layout/ClassStructure:
- protected_methods
- private_methods
- public_class_methods
- constants

Layout/ClosingParenthesisIndentation:
Enabled: true
Expand Down

0 comments on commit 59bf217

Please sign in to comment.