Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nicklockwood/SwiftFormat
A command-line tool and Xcode Extension for formatting Swift code
https://github.com/nicklockwood/SwiftFormat
All options in the Rules tab
74aa939537ff6aa76cb3f931355b411fa1d2b774 authored almost 6 years ago
74aa939537ff6aa76cb3f931355b411fa1d2b774 authored almost 6 years ago
Added `yodaConditions` rule
c2169bf01fda079a1ebcb19a7922426446b05ba7 authored almost 6 years ago
c2169bf01fda079a1ebcb19a7922426446b05ba7 authored almost 6 years ago
Deprecated `—comments` option
698ecef10bfae5e4902e9e9c56156f035ff75be6 authored almost 6 years ago
698ecef10bfae5e4902e9e9c56156f035ff75be6 authored almost 6 years ago
Shared options are now inferred from source
5d614674bde15c0e9f514e5faaa3511317240300 authored almost 6 years ago
5d614674bde15c0e9f514e5faaa3511317240300 authored almost 6 years ago
Added sharedOptions logic
cc5c9707e98106ba76c585ced5c57ef5eee8c36d authored almost 6 years ago
cc5c9707e98106ba76c585ced5c57ef5eee8c36d authored almost 6 years ago
Added whitelist for trailing closure functions
0ab65ebc9d2b1590107085386b3c96e7aa8174c8 authored almost 6 years ago
0ab65ebc9d2b1590107085386b3c96e7aa8174c8 authored almost 6 years ago
Enhanced trailingClosures and enabled by default
6c5e956285f6d903459b92083b3b09c0d47308f8 authored almost 6 years ago
6c5e956285f6d903459b92083b3b09c0d47308f8 authored almost 6 years ago
Log skipped files in output
7f87cab99f20a7308f2dbd4632339e311e0eab25 authored almost 6 years ago
7f87cab99f20a7308f2dbd4632339e311e0eab25 authored almost 6 years ago
Display documentation for multiple rules at once
f4eda5c33459ec4380635073f84403a0b41364e2 authored almost 6 years ago
f4eda5c33459ec4380635073f84403a0b41364e2 authored almost 6 years ago
Added detailed rule documentation to command-line
05e949d071636e5c0ea7f87e6a3cb89483c1a82c authored almost 6 years ago
05e949d071636e5c0ea7f87e6a3cb89483c1a82c authored almost 6 years ago
Updated for 0.39.5 release
543df82383ebfae4696c70809ae36ff3df63e9c6 authored almost 6 years ago
543df82383ebfae4696c70809ae36ff3df63e9c6 authored almost 6 years ago
Added support for Swift 5 `@unknown` attribute
1508f1280ef97bb33c5951e5f092c1cb5a8ab2bc authored almost 6 years ago
1508f1280ef97bb33c5951e5f092c1cb5a8ab2bc authored almost 6 years ago
Fixed bug with braces rule not wrapping last brace
c701baba4fb525ec3fbd1f76225232981349c109 authored almost 6 years ago
c701baba4fb525ec3fbd1f76225232981349c109 authored almost 6 years ago
Renamed some tests for clarity
066d01dd32b8cf35e82201793dc4d9a7f1f80fde authored almost 6 years ago
066d01dd32b8cf35e82201793dc4d9a7f1f80fde authored almost 6 years ago
Fixed handling of preview swift-version values
50714ad668bccb5762edeb5a6dd2e85e6f55a086 authored almost 6 years ago
50714ad668bccb5762edeb5a6dd2e85e6f55a086 authored almost 6 years ago
Updated performance tests
3dd4699f23b45822815a7ecb09f52550da325e4c authored almost 6 years ago
3dd4699f23b45822815a7ecb09f52550da325e4c authored almost 6 years ago
Fixed typo
ff9692317bdcc82e01ac0c68398e5a4ba33e5dc7 authored almost 6 years ago
ff9692317bdcc82e01ac0c68398e5a4ba33e5dc7 authored almost 6 years ago
Fixed some potential bugs with nil FormatOptions
16989f511538b1d00d5f3c9f484a9eeb1bc9ae2f authored almost 6 years ago
16989f511538b1d00d5f3c9f484a9eeb1bc9ae2f authored almost 6 years ago
Fixed error in rule documentation
2ea39c67f550349fd8ea2dca76603d5fbba74e7d authored almost 6 years ago
2ea39c67f550349fd8ea2dca76603d5fbba74e7d authored almost 6 years ago
Preserve relative indent inside multiline comments
5f1ff4360fcfa87ea425abeaa585635e1d163e2e authored almost 6 years ago
5f1ff4360fcfa87ea425abeaa585635e1d163e2e authored almost 6 years ago
Tokenizer refactoring
6802d8928119a3b39b1ef550951e583f4d5f5c86 authored almost 6 years ago
6802d8928119a3b39b1ef550951e583f4d5f5c86 authored almost 6 years ago
Updated for 0.39.4 release
ccb33374ef60c174d7f1855a4a3fbe4036ec0d76 authored almost 6 years ago
ccb33374ef60c174d7f1855a4a3fbe4036ec0d76 authored almost 6 years ago
Disabled `isEmpty` rule again by default
69afaa0f25473f7c647484fbab5fb6c6f05a2817 authored almost 6 years ago
69afaa0f25473f7c647484fbab5fb6c6f05a2817 authored almost 6 years ago
Fix bug with allman indenting of switch braces
1e3608f1e65c1dc6ca895a1f6bdd6e21841aa81d authored almost 6 years ago
1e3608f1e65c1dc6ca895a1f6bdd6e21841aa81d authored almost 6 years ago
Don’t error if only ignored files are matched
889927b11689474dc7c2687cb55f79ac90b3959f authored almost 6 years ago
889927b11689474dc7c2687cb55f79ac90b3959f authored almost 6 years ago
Fix bug with swiftVersion incorrectly marked unset
2bda3cccc88c885bae0743992ec1aea9f0e29f25 authored almost 6 years ago
2bda3cccc88c885bae0743992ec1aea9f0e29f25 authored almost 6 years ago
Full input path now checked against exclude globs
23dfcdca55547bc058a20ed9075cadd0bc0cb79f authored almost 6 years ago
23dfcdca55547bc058a20ed9075cadd0bc0cb79f authored almost 6 years ago
Updated rules to support raw strings
06c0e7646247745a79f2528a349ea54d667d840a authored almost 6 years ago
06c0e7646247745a79f2528a349ea54d667d840a authored almost 6 years ago
Added raw string support to tokenizer
69cc7c8a25b342024ad66accbb8ba919ad07be17 authored almost 6 years ago
69cc7c8a25b342024ad66accbb8ba919ad07be17 authored almost 6 years ago
Treat numeric tuple members as identifiers
# Conflicts:
# Tests/RulesTests.swift
# Tests/XCTestManifests.swift
Updated for 0.39.3 release
8e0f9569415605082d0b6306f0b3dbde4facb74d authored almost 6 years ago
8e0f9569415605082d0b6306f0b3dbde4facb74d authored almost 6 years ago
Couple the companion application with its file format
Support dropping the config file one the app icon to open the file
Support open config file from...
Fixed `hoistPatternLet` bug
04a7b4d768ed057879f777ea967dc4b68128095f authored almost 6 years ago
04a7b4d768ed057879f777ea967dc4b68128095f authored almost 6 years ago
Fixed bug in `typeSugar` rule
c2a22e129187388f98826588c6b4e855b6b62d66 authored almost 6 years ago
c2a22e129187388f98826588c6b4e855b6b62d66 authored almost 6 years ago
Updated for 0.39.2 release
88ecb54fb6bc50595af7f50922e77172bcfab4a0 authored almost 6 years ago
88ecb54fb6bc50595af7f50922e77172bcfab4a0 authored almost 6 years ago
Fixed specifiers examples.
01d620bce04792d204b0ba4e43945daae1ae94c1 authored almost 6 years ago
01d620bce04792d204b0ba4e43945daae1ae94c1 authored almost 6 years ago
Fixed multiline string bug
8be92a6842c976bd18cd5194d85b0d5969a87e5d authored almost 6 years ago
8be92a6842c976bd18cd5194d85b0d5969a87e5d authored almost 6 years ago
Fixed redundantParens bug
cb59e788ff1549c3eba21b8288598e008640d6d9 authored almost 6 years ago
cb59e788ff1549c3eba21b8288598e008640d6d9 authored almost 6 years ago
README improvements
f4febdd73e923317561c54945ef3d0530db19c07 authored almost 6 years ago
f4febdd73e923317561c54945ef3d0530db19c07 authored almost 6 years ago
Updated for 0.39.1 release
7b92d2ec68186502952c159192e96f5ebef369e1 authored almost 6 years ago
7b92d2ec68186502952c159192e96f5ebef369e1 authored almost 6 years ago
Fix mistakes in `Rules.md` file. (#358)
195fd79a9e11bb2beea7cd669fd0515d79e6599d authored almost 6 years ago
195fd79a9e11bb2beea7cd669fd0515d79e6599d authored almost 6 years ago
Fixed multiline string indenting bug
e002b47591eb40ac54906343d93805253c9c6c94 authored almost 6 years ago
e002b47591eb40ac54906343d93805253c9c6c94 authored almost 6 years ago
Fixed additional redundantParens cases
85f3003a4066a5eace1dc4c04454ee1b44e2fc3a authored almost 6 years ago
85f3003a4066a5eace1dc4c04454ee1b44e2fc3a authored almost 6 years ago
Fixed some cases not handled by redundantParens
dc148a01d7d870eafba44173f766adef5cbcc1cf authored almost 6 years ago
dc148a01d7d870eafba44173f766adef5cbcc1cf authored almost 6 years ago
Fixed flakey test
d789bd575733d3425c6211c3bb5eb04bd4715a03 authored almost 6 years ago
d789bd575733d3425c6211c3bb5eb04bd4715a03 authored almost 6 years ago
Autogenerate Rules documentation
69a51fa6c7e4285739d669b3ceab7b98b5091882 authored almost 6 years ago
69a51fa6c7e4285739d669b3ceab7b98b5091882 authored almost 6 years ago
Added tooltips for format rules in Xcode Extension
00400cb492485d56ddc93d0ca925c0f73fa65c39 authored almost 6 years ago
00400cb492485d56ddc93d0ca925c0f73fa65c39 authored almost 6 years ago
Added help and options to Rules metadata
33eeb3b9c9382b6d70341566ccbd79d227192bec authored almost 6 years ago
33eeb3b9c9382b6d70341566ccbd79d227192bec authored almost 6 years ago
Updated for 0.39.0 release
2a8df362461ffe26325873bd7ac1cd58d8159205 authored almost 6 years ago
2a8df362461ffe26325873bd7ac1cd58d8159205 authored almost 6 years ago
Fixed Sierra compatibility
86280d42e69a8b3d76c53e0ec7b6cc6f1e30a890 authored almost 6 years ago
86280d42e69a8b3d76c53e0ec7b6cc6f1e30a890 authored almost 6 years ago
Enabled `isEmpty` rule by default
b0fb7f576a2e00dd7efdff919c6bfb4c436a742a authored almost 6 years ago
b0fb7f576a2e00dd7efdff919c6bfb4c436a742a authored almost 6 years ago
General cleanup
1383f28cf2516f5a544c4924033ba9a1b4261dd7 authored almost 6 years ago
1383f28cf2516f5a544c4924033ba9a1b4261dd7 authored almost 6 years ago
Added `—selfrequired` option
f99e5b5225a62d67dc21b1471977330b6ac7906f authored almost 6 years ago
f99e5b5225a62d67dc21b1471977330b6ac7906f authored almost 6 years ago
Extended `redundantFileprivate` rule
574b5f458f9a8065686e2ba91f13b0e81bee68e8 authored almost 6 years ago
574b5f458f9a8065686e2ba91f13b0e81bee68e8 authored almost 6 years ago
Added `redundantFileprivate` rule
3dd0455ba4881e6495737bbcb0033eba8df4fc98 authored almost 6 years ago
3dd0455ba4881e6495737bbcb0033eba8df4fc98 authored almost 6 years ago
Added `redundantExtensionACL` rule
1c951f0d578c78744fe25c65773607f78ccfe1ba authored almost 6 years ago
1c951f0d578c78744fe25c65773607f78ccfe1ba authored almost 6 years ago
Fixed fragile glob tests
1f9d4a3ce9d52a3f2509c219ca850e805321c6ca authored almost 6 years ago
1f9d4a3ce9d52a3f2509c219ca850e805321c6ca authored almost 6 years ago
Add Integration Section with AppleScript to Readme (#349)
69d3d90a5108582f4637bcf99d1fda45e5501181 authored almost 6 years ago
69d3d90a5108582f4637bcf99d1fda45e5501181 authored almost 6 years ago
Extended `redundantObjc` rule
8582008320f52df9d709be6de7cdcf0d641c191d authored almost 6 years ago
8582008320f52df9d709be6de7cdcf0d641c191d authored almost 6 years ago
Added `redundantObjc` rule
9159ca7cc9f661b5919293562f1591a6166e4642 authored almost 6 years ago
9159ca7cc9f661b5919293562f1591a6166e4642 authored almost 6 years ago
Enhanced `fileHeader` rule
f095973150e2cf1ad676cf1dbeba5fd6c798641e authored almost 6 years ago
f095973150e2cf1ad676cf1dbeba5fd6c798641e authored almost 6 years ago
Added `typeSugar` rule
4e1711c3c1c20ed1edfbe1ff8dc677df391a38a4 authored almost 6 years ago
4e1711c3c1c20ed1edfbe1ff8dc677df391a38a4 authored almost 6 years ago
Updated for 0.38.0 release
5a136fc7db30aa3b27aa5298bbc83926752f580a authored almost 6 years ago
5a136fc7db30aa3b27aa5298bbc83926752f580a authored almost 6 years ago
Added Linux support
82f4c01e3706cc694576e873b6a8c6cf399850f9 authored almost 6 years ago
82f4c01e3706cc694576e873b6a8c6cf399850f9 authored almost 6 years ago
Rule registration no longer uses Obj-C runtime
2378c1d17e32e96dd069cb91d6254454a601c7d3 authored almost 6 years ago
2378c1d17e32e96dd069cb91d6254454a601c7d3 authored almost 6 years ago
Added options tooltips to Xcode Extension
b8502f62e743ae8769a8845f39d1715bf0519b11 authored almost 6 years ago
b8502f62e743ae8769a8845f39d1715bf0519b11 authored almost 6 years ago
Improved option value naming consistency
da1e1e475b50013830cf08c869f3ccc169602ff7 authored almost 6 years ago
da1e1e475b50013830cf08c869f3ccc169602ff7 authored almost 6 years ago
Added swift version support
# Conflicts:
# Sources/Options.swift
Added range-based token search methods
9c6f3849434cce974b361e6ccaf1a08c0874b009 authored almost 6 years ago
9c6f3849434cce974b361e6ccaf1a08c0874b009 authored almost 6 years ago
Set performance test baselines
0ef81a0a2610b3e1aa5c5d5b013420f7cc21e129 authored about 6 years ago
0ef81a0a2610b3e1aa5c5d5b013420f7cc21e129 authored about 6 years ago
The `redundantReturn` rule now removes void return
a3919995105f3f97f49596c31944be3569485ebd authored about 6 years ago
a3919995105f3f97f49596c31944be3569485ebd authored about 6 years ago
Fixed output corruption caused by malformed func
29371f87a9f189b67150879c0176c66173b1e381 authored about 6 years ago
29371f87a9f189b67150879c0176c66173b1e381 authored about 6 years ago
Added `strongifiedSelf` rule
5e0561ae78261aa06b61e71fc940a1099f0c4776 authored about 6 years ago
5e0561ae78261aa06b61e71fc940a1099f0c4776 authored about 6 years ago
Simplified `redundantBreak` rule
4a755ddc5caa24909ff630fd8b29efb05c2a848c authored about 6 years ago
4a755ddc5caa24909ff630fd8b29efb05c2a848c authored about 6 years ago
Added `anyObjectProtocol` rule
69f5173da80a10c0d6080731010f2fb9f10d0a3e authored about 6 years ago
69f5173da80a10c0d6080731010f2fb9f10d0a3e authored about 6 years ago
Added `redundantBreak` rule
eaed35d679107a8bfaa713130f55a54bfffc44c4 authored about 6 years ago
eaed35d679107a8bfaa713130f55a54bfffc44c4 authored about 6 years ago
Fixed typo in README
6856d162004be56c43c351c8b396c17e3905bc7e authored about 6 years ago
6856d162004be56c43c351c8b396c17e3905bc7e authored about 6 years ago
Updated for 0.37.5 release
1f004b07e834bf3a5c84c9c4eceda8f06d60e56b authored about 6 years ago
1f004b07e834bf3a5c84c9c4eceda8f06d60e56b authored about 6 years ago
Fixed another regression in `redundantReturn` rule
be46ae88e6f5c14fa7208fdda240efed5df7805f authored about 6 years ago
be46ae88e6f5c14fa7208fdda240efed5df7805f authored about 6 years ago
Updated for 0.37.4 release
127d085690dd2872a170cba50951915858b456bb authored about 6 years ago
127d085690dd2872a170cba50951915858b456bb authored about 6 years ago
Fixed regression in `redundantReturn` rule
ed740d1795c33e6cff9e1c0951b4f02386de87a5 authored about 6 years ago
ed740d1795c33e6cff9e1c0951b4f02386de87a5 authored about 6 years ago
Updated for 0.37.3 release
b6b91dea9d2accd28872cf32711c51bcaef2b9a5 authored about 6 years ago
b6b91dea9d2accd28872cf32711c51bcaef2b9a5 authored about 6 years ago
Fixed bug with redundantReturn in var assignment
a7d28e9e43e26c00ff939d4054ffa7f821bb4cf8 authored about 6 years ago
a7d28e9e43e26c00ff939d4054ffa7f821bb4cf8 authored about 6 years ago
Fixed bug with indenting of wrapped closures
89ae9b6c1f9a6c651d5bbc488322263541b4db19 authored about 6 years ago
89ae9b6c1f9a6c651d5bbc488322263541b4db19 authored about 6 years ago
Fixed bug with braces rule inside a closure
6d1e02fae34c7be78260740fb014f589c059f902 authored about 6 years ago
6d1e02fae34c7be78260740fb014f589c059f902 authored about 6 years ago
Fixed incorrect removal of backticks in keypaths
2b412160e5e8d57057beb6aa8ca847773d615a4b authored about 6 years ago
2b412160e5e8d57057beb6aa8ca847773d615a4b authored about 6 years ago
Fixed comments being stripped by elseOnSameLine
ee637fcb55b7075a366071d47a1098996319ee53 authored about 6 years ago
ee637fcb55b7075a366071d47a1098996319ee53 authored about 6 years ago
Fixed bug with wrapArguments afterFirst
11c36c3cea458926cd5d179eae73068623fa0072 authored about 6 years ago
11c36c3cea458926cd5d179eae73068623fa0072 authored about 6 years ago
Updated for 0.37.2 release
aaed92d1b05a65f6ad385f79ca49e8f1747226ac authored about 6 years ago
aaed92d1b05a65f6ad385f79ca49e8f1747226ac authored about 6 years ago
Improved Globs testing and fixed some edge cases
1c64ba3ed0ef27aea1c7573088d826aa6dce0799 authored about 6 years ago
1c64ba3ed0ef27aea1c7573088d826aa6dce0799 authored about 6 years ago
Fixed bug in globs when using —config argument
080c9033a2c6fc4c40c90b6ca69daa6e27cb204f authored about 6 years ago
080c9033a2c6fc4c40c90b6ca69daa6e27cb204f authored about 6 years ago
Optimized glob file exclusion performance
6b27f5d94ed27384e71421ec398dbada7bbe9fb0 authored about 6 years ago
6b27f5d94ed27384e71421ec398dbada7bbe9fb0 authored about 6 years ago
Use NSRegularExpression for glob matching
0e34a432cc77b0e3e7191c64c6a1105b2e5a340e authored about 6 years ago
0e34a432cc77b0e3e7191c64c6a1105b2e5a340e authored about 6 years ago
Updated for 0.37.1 release
67219a30460f0459bfbe4b21e8bb55cc70bcbf50 authored about 6 years ago
67219a30460f0459bfbe4b21e8bb55cc70bcbf50 authored about 6 years ago
Fixed `isEmpty` bug
78e9ff0bafd7a042b809455fd6ca6433f507280b authored about 6 years ago
78e9ff0bafd7a042b809455fd6ca6433f507280b authored about 6 years ago
Fixed stdout vs stderr tty detection (#334)
a12211f8da1fbd1bbccc2257174d3459ace6090e authored about 6 years ago
a12211f8da1fbd1bbccc2257174d3459ace6090e authored about 6 years ago
Updated for 0.37.0 release
d2b261b5e1d35c8326e825456a4d0329b7e6ad8f authored about 6 years ago
d2b261b5e1d35c8326e825456a4d0329b7e6ad8f authored about 6 years ago
Added `redundantLetError` rule
4f5aa793aa4e8e81e2a747b34c8b89b0297cb2ba authored about 6 years ago
4f5aa793aa4e8e81e2a747b34c8b89b0297cb2ba authored about 6 years ago
Fixed /// MARK:
1ee13806135e8c8e4c44eb0c569c0cf1fd02e7a0 authored about 6 years ago
1ee13806135e8c8e4c44eb0c569c0cf1fd02e7a0 authored about 6 years ago
Added `isEmpty` rule
0840b1f9695ff92d5e1b432c82a787852df4574e authored about 6 years ago
0840b1f9695ff92d5e1b432c82a787852df4574e authored about 6 years ago