forked from nikitabobko/AeroSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f4d2e7
commit 5e676f0
Showing
8 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
5.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# https://github.com/nicklockwood/SwiftFormat/blob/main/Rules.md | ||
--exclude Sources/ShellParserGenerated | ||
--indentcase true | ||
--patternlet inline | ||
--indentstrings true | ||
|
||
# https://github.com/nicklockwood/SwiftFormat/issues/483 fix indentation for expressions nested in ternary | ||
--wrapternary before-operators | ||
|
||
--disable andOperator | ||
--disable blankLinesBetweenScopes | ||
--disable consecutiveSpaces | ||
--disable consistentSwitchCaseSpacing | ||
--disable hoistTry | ||
--disable preferKeyPath | ||
--disable redundantNilInit | ||
--disable redundantParens | ||
--disable redundantRawValues | ||
--disable redundantReturn | ||
--disable redundantSelf | ||
--disable redundantStaticSelf | ||
--disable redundantType | ||
--disable spaceAroundComments | ||
--disable spaceInsideComments | ||
--disable wrapArguments | ||
--disable wrapMultilineConditionalAssignment | ||
|
||
# This rule is cool but buggy. It feels like heuristics are used instead of real code analysis | ||
--disable unusedArguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters