jellyfin-sdk-swift/.swiftformat

48 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2024-02-19 03:34:53 +00:00
# version: 0.53.2
2022-08-08 20:29:07 +00:00
2024-02-19 03:34:53 +00:00
--swiftversion 5.9
2022-08-08 20:29:07 +00:00
--tabwidth 4
--xcodeindentation enabled
--semicolons never
--stripunusedargs closure-only
--maxwidth 140
--assetliterals visual-width
--wraparguments before-first
--wrapparameters before-first
--wrapcollections before-first
--wrapconditions after-first
--funcattributes prev-line
--typeattributes prev-line
--varattributes prev-line
--trailingclosures
--shortoptionals "always"
--enable isEmpty, \
leadingDelimiters, \
wrapEnumCases, \
typeSugar, \
void, \
trailingSpace, \
spaceInsideParens, \
spaceInsideGenerics, \
spaceInsideComments, \
spaceInsideBrackets, \
spaceInsideBraces, \
blankLinesAroundMark, \
redundantLet, \
redundantInit, \
blankLinesAroundMark
--disable strongOutlets, \
yodaConditions, \
blankLinesAtStartOfScope,\
andOperator, \
redundantFileprivate, \
redundantSelf, \
redundantClosure, \
2024-02-19 03:34:53 +00:00
redundantType, \
conditionalAssignment
2022-08-08 20:29:07 +00:00
2022-08-16 02:37:47 +00:00
--header "\njellyfin-sdk-swift is subject to the terms of the Mozilla Public\nLicense, v2.0. If a copy of the MPL was not distributed with this\nfile, you can obtain one at https://mozilla.org/MPL/2.0/.\n\nCopyright (c) {year} Jellyfin & Jellyfin Contributors\n"