-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enable swift-format * add vscode-related configs * temporarily update tests CI to the other PR's branch * run swift-format * Revert "temporarily update tests CI to the other PR's branch" This reverts commit 75e8138. * commit launch.json as well
- Loading branch information
Showing
136 changed files
with
3,559 additions
and
2,346 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
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 |
---|---|---|
|
@@ -12,4 +12,3 @@ DerivedData/ | |
.vscode/launch.json | ||
.devcontainer | ||
Sources/DBMigration/Data | ||
.vscode/ |
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,6 @@ | ||
{ | ||
"backgroundIndexing": true, | ||
"backgroundPreparationMode": "build", | ||
"maxCoresPercentageToUseForBackgroundIndexing": 0.7, | ||
"experimentalFeatures": ["on-type-formatting"] | ||
} |
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,62 @@ | ||
{ | ||
"version": 1, | ||
"indentation": { | ||
"spaces": 4 | ||
}, | ||
"tabWidth": 4, | ||
"fileScopedDeclarationPrivacy": { | ||
"accessLevel": "private" | ||
}, | ||
"spacesAroundRangeFormationOperators": false, | ||
"indentConditionalCompilationBlocks": false, | ||
"indentSwitchCaseLabels": false, | ||
"lineBreakAroundMultilineExpressionChainComponents": false, | ||
"lineBreakBeforeControlFlowKeywords": false, | ||
"lineBreakBeforeEachArgument": true, | ||
"lineBreakBeforeEachGenericRequirement": true, | ||
"lineLength": 120, | ||
"maximumBlankLines": 1, | ||
"respectsExistingLineBreaks": true, | ||
"prioritizeKeepingFunctionOutputTogether": true, | ||
"rules": { | ||
"AllPublicDeclarationsHaveDocumentation": false, | ||
"AlwaysUseLiteralForEmptyCollectionInit": false, | ||
"AlwaysUseLowerCamelCase": false, | ||
"AmbiguousTrailingClosureOverload": true, | ||
"BeginDocumentationCommentWithOneLineSummary": false, | ||
"DoNotUseSemicolons": true, | ||
"DontRepeatTypeInStaticProperties": true, | ||
"FileScopedDeclarationPrivacy": true, | ||
"FullyIndirectEnum": true, | ||
"GroupNumericLiterals": true, | ||
"IdentifiersMustBeASCII": true, | ||
"NeverForceUnwrap": false, | ||
"NeverUseForceTry": false, | ||
"NeverUseImplicitlyUnwrappedOptionals": false, | ||
"NoAccessLevelOnExtensionDeclaration": true, | ||
"NoAssignmentInExpressions": true, | ||
"NoBlockComments": true, | ||
"NoCasesWithOnlyFallthrough": true, | ||
"NoEmptyTrailingClosureParentheses": true, | ||
"NoLabelsInCasePatterns": true, | ||
"NoLeadingUnderscores": false, | ||
"NoParensAroundConditions": true, | ||
"NoVoidReturnOnFunctionSignature": true, | ||
"OmitExplicitReturns": true, | ||
"OneCasePerLine": true, | ||
"OneVariableDeclarationPerLine": true, | ||
"OnlyOneTrailingClosureArgument": true, | ||
"OrderedImports": true, | ||
"ReplaceForEachWithForLoop": true, | ||
"ReturnVoidInsteadOfEmptyTuple": true, | ||
"UseEarlyExits": false, | ||
"UseExplicitNilCheckInConditions": false, | ||
"UseLetInEveryBoundCaseVariable": false, | ||
"UseShorthandTypeNames": true, | ||
"UseSingleLinePropertyGetter": false, | ||
"UseSynthesizedInitializer": false, | ||
"UseTripleSlashForDocumentationComments": true, | ||
"UseWhereClausesInForLoops": false, | ||
"ValidateDocumentationComments": false | ||
} | ||
} |
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 @@ | ||
Lambdas/GitHubAPI/GeneratedSources/ |
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,10 @@ | ||
{ | ||
"recommendations": [ | ||
"sswg.swift-lang", | ||
"foxundermoon.shell-format", | ||
"esbenp.prettier-vscode", | ||
"usernamehw.errorlens", | ||
"redhat.vscode-yaml", | ||
"francisco.html-leaf" | ||
] | ||
} |
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,170 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug Penny", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/Penny", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug Penny", | ||
"env": { | ||
"DEPLOYMENT_ENVIRONMENT": "local" | ||
} | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release Penny", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/Penny", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release Penny", | ||
"env": { | ||
"DEPLOYMENT_ENVIRONMENT": "local" | ||
} | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug UsersLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/UsersLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug UsersLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release UsersLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/UsersLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release UsersLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug SponsorsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/SponsorsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug SponsorsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release SponsorsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/SponsorsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release SponsorsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug GHOAuthLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/GHOAuthLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug GHOAuthLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release GHOAuthLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/GHOAuthLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release GHOAuthLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug GHHooksLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/GHHooksLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug GHHooksLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release GHHooksLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/GHHooksLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release GHHooksLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug FaqsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/FaqsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug FaqsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release FaqsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/FaqsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release FaqsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug AutoPingsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/AutoPingsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug AutoPingsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release AutoPingsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/AutoPingsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release AutoPingsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Debug AutoFaqsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/debug/AutoFaqsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Debug AutoFaqsLambda" | ||
}, | ||
{ | ||
"type": "lldb", | ||
"request": "launch", | ||
"sourceLanguages": ["swift"], | ||
"name": "Release AutoFaqsLambda", | ||
"program": "${workspaceFolder:penny-bot}/.build/release/AutoFaqsLambda", | ||
"args": [], | ||
"cwd": "${workspaceFolder:penny-bot}", | ||
"preLaunchTask": "swift: Build Release AutoFaqsLambda" | ||
} | ||
] | ||
} |
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,81 @@ | ||
{ | ||
"files.autoSave": "afterDelay", | ||
"debug.onTaskErrors": "abort", | ||
"git.openRepositoryInParentFolders": "always", | ||
"editor.unicodeHighlight.nonBasicASCII": false, | ||
"files.associations": { | ||
"*.swift": "swift" | ||
}, | ||
"workbench.editor.enablePreview": false, | ||
"swift.sourcekit-lsp.trace.server": "messages", | ||
"markdown.validate.enabled": true, | ||
"diffEditor.codeLens": true, | ||
"editor.stickyScroll.enabled": true, | ||
"editor.stickyScroll.maxLineCount": 8, | ||
"json.maxItemsComputed": 1000000, | ||
"editor.foldingMaximumRegions": 65000, | ||
"git.confirmSync": false, | ||
"cSpell.ignorePaths": [ | ||
"vscode-extension", | ||
".git/objects", | ||
".vscode", | ||
".vscode-insiders", | ||
".build", | ||
".*-build", | ||
".swiftpm" | ||
], | ||
"yaml.maxItemsComputed": 1000000, | ||
"yaml.format.enable": true, | ||
"editor.rulers": [120], | ||
"editor.minimap.enabled": false, | ||
"editor.wordWrapColumn": 100, | ||
"githubPullRequests.pullBranch": "never", | ||
"errorLens.statusBarColorsEnabled": true, | ||
"errorLens.statusBarIconsEnabled": true, | ||
"errorLens.scrollbarHackEnabled": true, | ||
"errorLens.delayMode": "debounce", | ||
"errorLens.delay": 500, | ||
"errorLens.editorHoverPartsEnabled": { | ||
"messageEnabled": true, | ||
"sourceCodeEnabled": true, | ||
"buttonsEnabled": true | ||
}, | ||
"editor.unicodeHighlight.invisibleCharacters": false, | ||
"editor.unicodeHighlight.ambiguousCharacters": false, | ||
"editor.largeFileOptimizations": false, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"files.insertFinalNewline": true, | ||
"editor.indentSize": "tabSize", | ||
"editor.formatOnSave": true, | ||
"editor.formatOnPaste": true, | ||
"editor.formatOnType": true, | ||
"[swift]": { | ||
"editor.defaultFormatter": "sswg.swift-lang", | ||
"editor.detectIndentation": false, | ||
"editor.tabSize": 4, | ||
"editor.insertSpaces": true | ||
}, | ||
"terminal.integrated.scrollback": 10000, | ||
"swift.buildArguments": ["--force-resolved-versions"], | ||
"swift.additionalTestArguments": ["--disable-xctest"], | ||
"[yaml]": { | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.defaultFormatter": "redhat.vscode-yaml" | ||
}, | ||
"[shellscript]": { | ||
"editor.defaultFormatter": "foxundermoon.shell-format" | ||
}, | ||
"[dotenv]": { | ||
"editor.defaultFormatter": null | ||
}, | ||
"[ignore]": { | ||
"editor.defaultFormatter": null | ||
}, | ||
"[dockerfile]": { | ||
"editor.defaultFormatter": null | ||
}, | ||
"[properties]": { | ||
"editor.defaultFormatter": null | ||
} | ||
} |
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
Oops, something went wrong.