-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy path.swiftformat
More file actions
24 lines (22 loc) · 1.25 KB
/
Copy path.swiftformat
File metadata and controls
24 lines (22 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SwiftFormat configuration for OmniWM
# Visual formatting only. SwiftLint owns diagnostics and semantic style.
--swiftversion 6.3
--indent 4
--maxwidth 120
--wraparguments before-first
--wrapcollections before-first
--wrapparameters before-first
--importgrouping alpha
--commas inline
--trimwhitespace always
--semicolons never
--header "// SPDX-License-Identifier: GPL-2.0-only\n// Copyright (C) 2026 BarutSRB — https://github.com/BarutSRB/OmniWM"
--disable all
--enable blankLineAfterImports,blankLinesAroundMark,blankLinesAtEndOfScope,blankLinesAtStartOfScope
--enable blankLinesBetweenChainedFunctions,blankLinesBetweenImports,blankLinesBetweenScopes
--enable braces,consecutiveBlankLines,consecutiveSpaces,consistentSwitchCaseSpacing,duplicateImports
--enable elseOnSameLine,fileHeader,indent,leadingDelimiters,linebreakAtEndOfFile,linebreaks
--enable modifierOrder,semicolons,sortImports,trailingCommas,trailingSpace
--enable spaceAroundBraces,spaceAroundBrackets,spaceAroundComments,spaceAroundGenerics,spaceAroundOperators,spaceAroundParens
--enable spaceInsideBraces,spaceInsideBrackets,spaceInsideComments,spaceInsideGenerics,spaceInsideParens
--enable wrap,wrapArguments,wrapAttributes,wrapFunctionBodies,wrapMultilineStatementBraces,wrapPropertyBodies,wrapSwitchCases