Skip to content

Commit

Permalink
Merge pull request #21 from RakuyoKit/fix/unpublished-rules
Browse files Browse the repository at this point in the history
Comment out some rules that haven't been officially released yet
  • Loading branch information
rakuyoMo authored Apr 17, 2024
2 parents 463f199 + dbe2841 commit 8463e72
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Sources/RakuyoSwiftFormatTool/rakuyo.swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
--closingparen balanced # wrapArguments
--wraptypealiases before-first # wrapArguments
--funcattributes prev-line # wrapAttributes
--computedvarattrs prev-line # wrapAttributes
--storedvarattrs prev-line # wrapAttributes
--complexattrs prev-line # wrapAttributes
--typeattributes prev-line # wrapAttributes
--wrapternary before-operators # wrap
--extensionacl on-declarations # extensionAccessControl
Expand All @@ -41,6 +38,12 @@
# We recommend a max width of 100 but _strictly enforce_ a max width of 130
--maxwidth 130 # wrap

# The remaining three options have not been released yet, use `varattributes` first
--varattributes prev-line # wrapAttributes
# --computedvarattrs prev-line # wrapAttributes
# --storedvarattrs prev-line # wrapAttributes
# --complexattrs prev-line # wrapAttributes

# rules
--rules anyObjectProtocol
--rules blankLinesBetweenScopes
Expand Down Expand Up @@ -96,8 +99,6 @@
--rules preferForLoop
--rules conditionalAssignment
--rules wrapMultilineConditionalAssignment
--rules blankLineAfterMultilineSwitchCase
--rules consistentSwitchStatementSpacing
--rules semicolons
--rules isEmpty
--rules acronyms
Expand All @@ -106,3 +107,7 @@
--rules assertionFailures
--rules blankLinesAroundMark
--rules blankLinesBetweenChainedFunctions

# Not released yet, will be used after release
# --rules blankLineAfterMultilineSwitchCase
# --rules consistentSwitchStatementSpacing

0 comments on commit 8463e72

Please sign in to comment.