Skip to content

Commit

Permalink
Merge pull request #26 from RakuyoKit/feature/modifier-order
Browse files Browse the repository at this point in the history
Adjust modifier order
  • Loading branch information
rakuyoMo authored Apr 19, 2024
2 parents 26e43ca + ac8144e commit ae68100
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
--shortoptionals always #typeSugar
--semicolons never #semicolons
--doccomments preserve #docComments
--modifierorder open,public,final,fileprivate,private,private(set),static,override,convenience,lazy,weak #modifierOrder

# We recommend a max width of 100 but _strictly enforce_ a max width of 130
--maxwidth 130 # wrap
Expand Down
16 changes: 0 additions & 16 deletions Sources/RakuyoSwiftFormatTool/swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ only_rules:
- private_subject
- unavailable_function
- superfluous_else
- modifier_order
- contains_over_filter_count
- contains_over_filter_is_empty
- contains_over_first_not_nil
Expand Down Expand Up @@ -200,21 +199,6 @@ type_contents_order:
[subscript],
]

modifier_order:
preferred_modifier_order: [
acl,
setterACL,
override,
dynamic,
mutators,
lazy,
final,
required,
convenience,
typeMethods,
owned
]

custom_rules:
no_objcMembers:
name: "@objcMembers"
Expand Down

0 comments on commit ae68100

Please sign in to comment.