Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
Collective - Host: opensource - https://opencollective.com/swiftformat - Code: https://github.com/nicklockwood/SwiftFormat

Update for 0.53.3 release

github.com/nicklockwood/SwiftFormat - dbc9a4406d21cc52f16caf1e299172b097145e5e authored 10 months ago by Nick Lockwood <[email protected]>
Fix potential issues in `enumNamespaces` rule

github.com/nicklockwood/SwiftFormat - b3e2b9108814c53b2d4a2d73dec86f99e87a4f7a authored 10 months ago by Nick Lockwood <[email protected]>
Add preliminary support for typed throws

github.com/nicklockwood/SwiftFormat - 013247c926a78ef4dff93b1e8a7fabcaba8fa775 authored 10 months ago by Nick Lockwood <[email protected]>
Avoid mangling throwing or async forEach

github.com/nicklockwood/SwiftFormat - fdd64321c79ca36f7ed4b47e3b5d2cc5e9c7c127 authored 10 months ago by Nick Lockwood <[email protected]>
Handle `case` correctly in `preferForLoop` rule

github.com/nicklockwood/SwiftFormat - 233cdad8fa6e76b144ffa6926ec4c9e9a84804fa authored 10 months ago by Nick Lockwood <[email protected]>
Fix issue where extension body wouldn't be sorted if organizeDeclarations was enabled but excluded declaration type (#1628)

github.com/nicklockwood/SwiftFormat - cedf93a632511a985baf1e281cafd95fafa455ad authored 10 months ago by Cal Stephens <[email protected]>
Fix conditionalAssignment bugs with @unknown default cases (#1623)

github.com/nicklockwood/SwiftFormat - 1b3586a060432287e279e48e648ad43cc803bf5c authored 10 months ago by Cal Stephens <[email protected]>
Exclude examples from line length limit limit

github.com/nicklockwood/SwiftFormat - 845aa725b43e0005081bf1fb38dcbb992b78a7d1 authored 10 months ago by Nick Lockwood <[email protected]>
Update for 0.53.2 release

github.com/nicklockwood/SwiftFormat - 607c7057e55cf008e3841696ea7083622e36164f authored 10 months ago by Nick Lockwood <[email protected]>
Fix `unusedArguments` edge case

github.com/nicklockwood/SwiftFormat - e7449430c54a8d6393c8e3a9fcf4ca0521761c39 authored 10 months ago by Nick Lockwood <[email protected]>
Fix bug with `redundantSelf` and `@MainActor`

github.com/nicklockwood/SwiftFormat - 843b1f9deddc9b70bc831303880e9a80f55d72f7 authored 10 months ago by Nick Lockwood <[email protected]>
Improve keyword matching

github.com/nicklockwood/SwiftFormat - 95d4039c9b0f7598452f53d441ce154a20d78173 authored 10 months ago by Nick Lockwood <[email protected]>
Fix bug in `hoistAwait` rule

github.com/nicklockwood/SwiftFormat - 6498522350708a2ade44dc1894e54b2ee60ddffc authored 11 months ago by Nick Lockwood <[email protected]>
Update for 0.53.1 release

github.com/nicklockwood/SwiftFormat - 402367fbe91d6a453bc608bfc0d93b14a301a519 authored 11 months ago by Nick Lockwood <[email protected]>
Fix unusedArguments false positive

github.com/nicklockwood/SwiftFormat - 630cdff50843b1537368faa313e0772b53a37c59 authored 11 months ago by Nick Lockwood <[email protected]>
Preserve internal import

github.com/nicklockwood/SwiftFormat - d2148c730e8523df85d43168d7c17feb694151bf authored 11 months ago by Nick Lockwood <[email protected]>
Fix duplicate file header bug

github.com/nicklockwood/SwiftFormat - ce6524c7edebf069eb780386c74509caf0f47d84 authored 11 months ago by Nick Lockwood <[email protected]>
Fix missing code wrapper in Rules.md (#1610)

github.com/nicklockwood/SwiftFormat - ac414ffd4f6508ab6663efd5ac3e18b7eaab7192 authored 11 months ago by Marat Nazirov <[email protected]>
Update for 0.53.0 release

github.com/nicklockwood/SwiftFormat - fef156a6135e584985ed26713dd2e9ee41f952cb authored 12 months ago by Nick Lockwood <[email protected]>
Fix issue parseType helper didn't handle qualified types like Foo.Bar

github.com/nicklockwood/SwiftFormat - 1c5b4f7c5b685e723aaefb99a12452a3d937188a authored 12 months ago by Cal Stephens <[email protected]>
Don't unwrap attributes if they would exceed `--maxwidth`

github.com/nicklockwood/SwiftFormat - ea008e7be389838ce84170ecd9650a3c04d24083 authored 12 months ago by Cal Stephens <[email protected]>
Enable `blankLineAfterImports` by default

github.com/nicklockwood/SwiftFormat - 82f8b9734ba0bfcc142ab2a8fe8a51882e15bf83 authored 12 months ago by Nick Lockwood <[email protected]>
Add `wrapLoopBodies` rule

github.com/nicklockwood/SwiftFormat - df2b56d581405a893286c7c2f569f8347bf3642a authored 12 months ago by Cal Stephens <[email protected]>
Add `wrapLoopBodies` rule

github.com/nicklockwood/SwiftFormat - 3a7b04e73c58565039563b6b0cf356a10aa29fec authored 12 months ago by Nick Lockwood <[email protected]>
Enable `preferForLoop` by default

github.com/nicklockwood/SwiftFormat - 9c8eb475be1b2468a58a1cf9a42867d865b04a68 authored 12 months ago by Nick Lockwood <[email protected]>
Flip `--shortoptionals` default to `except-properties`

github.com/nicklockwood/SwiftFormat - bd81c4889c3460d8471417d37514eae0d9769b7b authored 12 months ago by Nick Lockwood <[email protected]>
Add noExplicitOwnership rule

github.com/nicklockwood/SwiftFormat - a7d6232aebbae96760344b54d86c7cec86a7c4c3 authored 12 months ago by Cal Stephens <[email protected]>
Enable `blankLinesBetweenChainedFunctions` by default

github.com/nicklockwood/SwiftFormat - 5b7f2bb2a2d147b531f007db5658d2c119c09acf authored 12 months ago by Nick Lockwood <[email protected]>
Fix `self` inserted before `set` clause in computed property

github.com/nicklockwood/SwiftFormat - 75c97cadcdcb90f55a9b3f2c980303fdf25244b4 authored 12 months ago by Nick Lockwood <[email protected]>
Fix globs header

github.com/nicklockwood/SwiftFormat - 2141f575bc3584385f91587f4851291830028e67 authored 12 months ago by Nick Lockwood <[email protected]>
Fix xcode command plugin

github.com/nicklockwood/SwiftFormat - d50790ee8c2603d598b5142ddb1bce8c01bb0dc3 authored 12 months ago by Fatih Doğan <[email protected]>
Rename `forLoop` to `preferForLoop`

github.com/nicklockwood/SwiftFormat - fa832ab0155f84725566fe77840aeb225ab93e3d authored 12 months ago by Nick Lockwood <[email protected]>
Add rule to convert `forEach { ... }` calls to for loops (#1490)

github.com/nicklockwood/SwiftFormat - ee609d2819491d89087eac0f5f71f66f91dcf27e authored 12 months ago by Cal Stephens <[email protected]>
Change `preferForLoop` options for single-line loops

github.com/nicklockwood/SwiftFormat - 5222db8c5035554aade0cec5c3ad28d18dbee1a3 authored 12 months ago by Nick Lockwood <[email protected]>
Add special case handling for `allX` loop identifiers

github.com/nicklockwood/SwiftFormat - b4910bf3bb7d2e510d9f27393c25539382328422 authored 12 months ago by Nick Lockwood <[email protected]>
Fix issue where for loop would break conditional assignment rule

github.com/nicklockwood/SwiftFormat - a5abcd20725b546913f84e3a22f6a85b81c0c6eb authored 12 months ago by Cal Stephens <[email protected]>
Fix edge cases in `forLoop` rule (#1494)

github.com/nicklockwood/SwiftFormat - fc98ece0538d235791b633c3b13f15df653666af authored 12 months ago by Cal Stephens <[email protected]>
Improve `preferForLoop` identifier selection logic

github.com/nicklockwood/SwiftFormat - a6e8e95331e7bb7c11d98e4459401f6fb79c8afb authored 12 months ago by Nick Lockwood <[email protected]>
Remove runtime stdlib dependency from pre-built binary targeting Linux

Currently, the pre-built binary targeting Linux links Swift stdlib and
core libraries dynamicall...

github.com/nicklockwood/SwiftFormat - 52c21353537e2dc86b40babae949397123ffaeae authored 12 months ago by Yuta Saito <[email protected]>
Update for 0.52.11 release

github.com/nicklockwood/SwiftFormat - ad7707bd34a33fa64a2c593c53deaa7d7469e2f0 authored about 1 year ago by Nick Lockwood <[email protected]>
Fix indent for wrapped conditional assignment expressions

github.com/nicklockwood/SwiftFormat - 0bd9f0da2766a45778381762e8f5459d596a744c authored about 1 year ago by Cal Stephens <[email protected]>
Update .pre-commit-hooks.yaml (#1587)

github.com/nicklockwood/SwiftFormat - 4c59d418dd705c7042023614314cf31a4b560a8c authored about 1 year ago by kiddten <[email protected]>
Fix assertion failure in `redundantSelf` rule

github.com/nicklockwood/SwiftFormat - 2bb148e73e3ae3a7ebffa382a82532dec54b65bf authored about 1 year ago by Nick Lockwood <[email protected]>
Fix raw string parsing bug

github.com/nicklockwood/SwiftFormat - f89e4e4620b5ee82bc4e27501562099c285f992a authored about 1 year ago by Nick Lockwood <[email protected]>
Update if/switch expression workaround for Swift 5.9 bug to handle as! cast

github.com/nicklockwood/SwiftFormat - 90d9d20b1282bdb477dfa54ef7b685dfa18d8000 authored about 1 year ago by Cal Stephens <[email protected]>
Use `isUnwrapOperator` where applicable

github.com/nicklockwood/SwiftFormat - 79d219464a03b7f30cc2915aaafcc2ce837bbb86 authored about 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.10 release

github.com/nicklockwood/SwiftFormat - cac06079ce883170ab44cb021faad298daeec2a5 authored about 1 year ago by Nick Lockwood <[email protected]>
Fix unsafe conversion of conditional switch cases to expression

github.com/nicklockwood/SwiftFormat - e621e9a17c433c83821882a0c8d0f015c3454703 authored about 1 year ago by Nick Lockwood <[email protected]>
Refactor conditionalBranches helper

github.com/nicklockwood/SwiftFormat - d538b2fbf7d1564c7afc003436281a5a93c72b5f authored about 1 year ago by Nick Lockwood <[email protected]>
Fix `enumNamespaces` rule breaking import struct/class

github.com/nicklockwood/SwiftFormat - 3b41d2ae4c9fea47485356eae736be32d4a31e5f authored about 1 year ago by Nick Lockwood <[email protected]>
Remove junk lines from test suite

github.com/nicklockwood/SwiftFormat - 5cf32e8b3f02695096ea2caa61e5aa4ef0ba2ebe authored about 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.9 release

github.com/nicklockwood/SwiftFormat - d37a477177d5d4ff2a3ae6328eaaab5bf793e702 authored about 1 year ago by Nick Lockwood <[email protected]>
Fix `redundantClosure` when `redundantReturn` disabled

github.com/nicklockwood/SwiftFormat - 311df920b85684ff9a177bc0c4e4cea162de7f1e authored about 1 year ago by Nick Lockwood <[email protected]>
Fix issue where closure with if expression in method call would be unexpectedly removed

github.com/nicklockwood/SwiftFormat - 2b0c472d5e838aebca60dc6f317eccbc375c169a authored about 1 year ago by Cal Stephens <[email protected]>
Fix `blankLineAfterImports` for `@preconcurrency` attribute

github.com/nicklockwood/SwiftFormat - 83ae67adc0f9945d06d1ec73ff3dec1cb512fcf0 authored about 1 year ago by Nick Lockwood <[email protected]>
Fix issue where switch case with multiple where clauses could parse incorrectly

github.com/nicklockwood/SwiftFormat - 14963bde23bd685c936c0813a8bcacd901247517 authored about 1 year ago by Cal Stephens <[email protected]>
Fix issue where enumNamespaces rule wouldn't be applied following import statement

github.com/nicklockwood/SwiftFormat - 52b9aaf330873df5f6aa8ac78160729e38b255bf authored about 1 year ago by Cal Stephens <[email protected]>
Fix issue where if/switch expressions with 'as?' cast would break build in Swift 5.9

github.com/nicklockwood/SwiftFormat - c1e4c4861d8714e6a5cc11061c4bc29f44a6e783 authored about 1 year ago by Cal Stephens <[email protected]>
Fix `redundantClosure` inside conditional statement

github.com/nicklockwood/SwiftFormat - b31b80ffb6a5dafed6461c72d97d547c076b66d4 authored about 1 year ago by Nick Lockwood <[email protected]>
Fix SwiftPM plugin not taking into account local target dependencies

github.com/nicklockwood/SwiftFormat - 496a7cc0943874fcec0f35b9b73ff2fba4e15837 authored about 1 year ago by MahdiBM <[email protected]>
Fix incorrect shell command in README (#1560)

github.com/nicklockwood/SwiftFormat - 8dc0e856109b343ad4e72b8470e0dc401557d783 authored about 1 year ago by Iulian Onofrei <[email protected]>
Update for 0.52.8 release

github.com/nicklockwood/SwiftFormat - 4c8386a35e6a287387da041794b71b85d0858760 authored about 1 year ago by Nick Lockwood <[email protected]>
Update redundantClosure rule to handle cases where if/switch expression would not be allowed

github.com/nicklockwood/SwiftFormat - fedf5d7dfc8996fed6fc931c9f84451f6d3c0bd8 authored about 1 year ago by Cal Stephens <[email protected]>
Fix `docComments` rule for macros

github.com/nicklockwood/SwiftFormat - 69fdbd970768c8bbbc6d0ab40f3b0fcce877ba0f authored about 1 year ago by Nick Lockwood <[email protected]>
Only convert docComments when entire block is eligible

github.com/nicklockwood/SwiftFormat - 0214767055b418c068427e9e0fc5df4bc8f21895 authored about 1 year ago by Nick Lockwood <[email protected]>
Refactor docComments slightly

github.com/nicklockwood/SwiftFormat - 579dc9165b6e1cb8a16a7bbda1cc052ce5a0d440 authored about 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.7 release

github.com/nicklockwood/SwiftFormat - 7b0f378f580d8f2fd8c4df8eece0f798d9b855b9 authored about 1 year ago by Nick Lockwood <[email protected]>
Add `--disable all` test

github.com/nicklockwood/SwiftFormat - f1122689b351007d28c5ddfb71018e9bba7b4ae1 authored about 1 year ago by Nick Lockwood <[email protected]>
Improve `conditionalAssignment` and `redundantClosure` rules by parsing full expressions (#1539)

github.com/nicklockwood/SwiftFormat - 0a7bb6bc5de0cde6bfe870965164ee6de6c2a5e7 authored about 1 year ago by Cal Stephens <[email protected]>
Fix `redundantClosure` leaving stray `try` or `await`

github.com/nicklockwood/SwiftFormat - adb2c6036ee9871313257788dc441a1364523e4e authored about 1 year ago by Nick Lockwood <[email protected]>
Fix example

github.com/nicklockwood/SwiftFormat - 5d4a7202a2b3faaed41fc01143363bca5fc62992 authored about 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.6 release

github.com/nicklockwood/SwiftFormat - dfa38a7335720da1df3ea75f75460d89e61550ec authored about 1 year ago by Nick Lockwood <[email protected]>
Fix `redundantReturn` with consecutive if statements

github.com/nicklockwood/SwiftFormat - 1b3d72a9f7c826ebeca840f7f654018a6fd1052e authored about 1 year ago by Nick Lockwood <[email protected]>
Fix Extension profile

github.com/nicklockwood/SwiftFormat - ab80f3a05a398a97665733732c54ea7e1e2c868c authored about 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.5 release

github.com/nicklockwood/SwiftFormat - 7eb1706ba2f2213e8e48c7bffe5dd844f3405de5 authored about 1 year ago by Nick Lockwood <[email protected]>
Remove arbitrary unwrap threshold for braces rule

github.com/nicklockwood/SwiftFormat - 4adf5b31726e62c39280e7033cabc3938a033a6d authored about 1 year ago by Nick Lockwood <[email protected]>
Allow operators to be marked as effect-capturing

github.com/nicklockwood/SwiftFormat - 5f14622a5aa36a9a7d2d345291a33829399f4adb authored about 1 year ago by Nick Lockwood <[email protected]>
Fix broken indent inside #ifdef after comment

github.com/nicklockwood/SwiftFormat - d5197fb213dd7359797cba5c9bd17fb2b3feb44e authored about 1 year ago by Nick Lockwood <[email protected]>
Fix docComments with Note: prefix

github.com/nicklockwood/SwiftFormat - 31a41ef53a7211fbc59d0d4e5d325561dfc387de authored about 1 year ago by Nick Lockwood <[email protected]>
Fix docComments rule inside #if statement

github.com/nicklockwood/SwiftFormat - 7d60342368e4d2122b69559a284417778c6f6c74 authored about 1 year ago by Nick Lockwood <[email protected]>
[#1525] Fix issue where removing return from failable init would break build

github.com/nicklockwood/SwiftFormat - d6d29b0dcdd5d221b292633738f952d2fea3fc0e authored about 1 year ago by Cal Stephens <[email protected]>
Add script sandboxing warning

github.com/nicklockwood/SwiftFormat - 13e00c4de0d53bf933a5d8ea4cd9ad4796b7071a authored about 1 year ago by Nick Lockwood <[email protected]>
Fix unused variable warning

github.com/nicklockwood/SwiftFormat - 281a485e86d930829f509f1956634a59d5e98f28 authored about 1 year ago by Nick Lockwood <[email protected]>
Add link to Nova extension

github.com/nicklockwood/SwiftFormat - 852115092722c3dae95a29cb61832cab2adcc91d authored over 1 year ago by Pádraig Ó Cinnéide <[email protected]>
Improve default indent after wrapping conditions

github.com/nicklockwood/SwiftFormat - 21db8026d2d34a454f1377bc635fea6c52dba752 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix `--wrapconditions after-first` when first line is comment

github.com/nicklockwood/SwiftFormat - 78c4a2bcf83bec6c5c188a9ebed0ddd59bee127d authored over 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.4 release

github.com/nicklockwood/SwiftFormat - 1f8b956bb9302ec1d3bae8cc3b4b0dddfe85d26a authored over 1 year ago by Nick Lockwood <[email protected]>
Update .swiftformat config for project

github.com/nicklockwood/SwiftFormat - 31e8532a97683eb60ec3b7bfa132a5eab921f4fe authored over 1 year ago by Nick Lockwood <[email protected]>
Update sortTypealiases rule to also remove duplicates

github.com/nicklockwood/SwiftFormat - a6254686edc144b4fa42fc0a09efeb6d5cd21417 authored over 1 year ago by Cal Stephens <[email protected]>
Add fixes for parameter packs

github.com/nicklockwood/SwiftFormat - 52f16623ab5db989633186bcf2055f82e038b4b9 authored over 1 year ago by Nick Lockwood <[email protected]>
Improve "failed to terminate" error message

github.com/nicklockwood/SwiftFormat - 712a3bb50e0496f8a3ba8868c26c40811e3da278 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix `docComments` false positives

github.com/nicklockwood/SwiftFormat - 5b5e76aefdd3d9be05161ba2532fa63156d5e330 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix `redundantLet` in ViewBuilder modifier

github.com/nicklockwood/SwiftFormat - 5097994fdb9a7240016a0ef43d83feadc75d8a9a authored over 1 year ago by Nick Lockwood <[email protected]>
Add test for incorrect use of keyword matching

github.com/nicklockwood/SwiftFormat - 89185d1da7931b02ef079380096ef28577205c27 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix `redundantLet` after @MainActor or @Sendable

github.com/nicklockwood/SwiftFormat - 087e63324599ee2421e568ae3ca09c4837d6cd7a authored over 1 year ago by Nick Lockwood <[email protected]>
Update for 0.52.3 release

github.com/nicklockwood/SwiftFormat - 1c1bf3b72a020cabe39ce7cd31fc47a3fdc90b44 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix incorrect hoist of try inside multiline string

github.com/nicklockwood/SwiftFormat - f5e3375fba0fae7cdcc698964e41408526879201 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix incorrect hoist of try inside generic context

github.com/nicklockwood/SwiftFormat - 355f028e4706a4698543767cc52614c206e471e5 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix incorrect parens removal

github.com/nicklockwood/SwiftFormat - a7b46e3127326675dd60a289ba561e5b74460646 authored over 1 year ago by Nick Lockwood <[email protected]>
Fix early return statement

github.com/nicklockwood/SwiftFormat - 13e95b7e0dddc94c4080741ab2fcbb9b9dc47aa7 authored over 1 year ago by Nick Lockwood <[email protected]>