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
Made todos rule more flexible
a3c1a14c3ef9ed3d1eef4632597c27142a317376 authored over 5 years ago
a3c1a14c3ef9ed3d1eef4632597c27142a317376 authored over 5 years ago
Don’t strip header comment from Package.swift file
ce0def07bd9b3f538d38326fbb8bad431034dd31 authored over 5 years ago
ce0def07bd9b3f538d38326fbb8bad431034dd31 authored over 5 years ago
Updated for 0.40.13 release
1f0d26082bee42490f286bee98133ae710be0032 authored over 5 years ago
1f0d26082bee42490f286bee98133ae710be0032 authored over 5 years ago
Fixed `let` hoisting bug
fadcd7d5b9009f0b0a7c15c4ea1673e2ad8f76ea authored over 5 years ago
fadcd7d5b9009f0b0a7c15c4ea1673e2ad8f76ea authored over 5 years ago
Updated Linux tests
bfe48ccaeba0e6a4c3fede6c29c4ad13e39b637b authored over 5 years ago
bfe48ccaeba0e6a4c3fede6c29c4ad13e39b637b authored over 5 years ago
Remove `return` from functions in Swift 5.1
8a14ef6bf6f76a5c16d21b0b341595ce00d3b044 authored over 5 years ago
8a14ef6bf6f76a5c16d21b0b341595ce00d3b044 authored over 5 years ago
Updated for 0.40.12 release
4cd3fab23a9ca3524bcd8ef044c1c22403a8a0d2 authored over 5 years ago
4cd3fab23a9ca3524bcd8ef044c1c22403a8a0d2 authored over 5 years ago
Fixed `redundantFileprivate` breaking inner types
b717ee03c65a6e11352d2619ae470a9cd7866310 authored over 5 years ago
b717ee03c65a6e11352d2619ae470a9cd7866310 authored over 5 years ago
Fixed compiler crash when building with Xcode 11
23cf4a77fec743fd524aa7cd58afc0b8429b2d5e authored over 5 years ago
23cf4a77fec743fd524aa7cd58afc0b8429b2d5e authored over 5 years ago
Fix --quiet preventing .raw output (#477)
Fixes #476. 32ba97d added a new case `raw` to handle the non-EOL-appended output. However, this ...
561a5ee768037204048fb52a11b8d75c330f89e4 authored over 5 years ago
Updated for 0.40.11 release
c4a1da39454cd010b8cfc46ea9f4355d70923b0e authored over 5 years ago
c4a1da39454cd010b8cfc46ea9f4355d70923b0e authored over 5 years ago
Fix `void` rule inside generic parameters
28087e7de7c61bec27d39c1e61f4c7967e963cb1 authored over 5 years ago
28087e7de7c61bec27d39c1e61f4c7967e963cb1 authored over 5 years ago
Fixed incorrect removal of Void generic arguments
b052575c9699a716a0d5340ddff10e019b2189b0 authored over 5 years ago
b052575c9699a716a0d5340ddff10e019b2189b0 authored over 5 years ago
Fix nil init value removed with property wrappers
f0c56bf59bdfd3ae7b80fbefbc0635d8781ad927 authored over 5 years ago
f0c56bf59bdfd3ae7b80fbefbc0635d8781ad927 authored over 5 years ago
Explain how to keep SwiftFormat on the latest version (#458)
beee31bf077d11e6cbc365d985e37e04addc0fa5 authored over 5 years ago
beee31bf077d11e6cbc365d985e37e04addc0fa5 authored over 5 years ago
Fix up markdown syntax (#456)
48c76d992111562b3e6394f49d22a05c894b480a authored over 5 years ago
48c76d992111562b3e6394f49d22a05c894b480a authored over 5 years ago
Xcode style indentation for guards & enums (#442)
86e7421ed3affedb96db45b95a4df90936d6d395 authored over 5 years ago
86e7421ed3affedb96db45b95a4df90936d6d395 authored over 5 years ago
Updated for 0.40.10 release
0708f1eefe0a2ce2aa42fc3ff86125cdb751e63c authored over 5 years ago
0708f1eefe0a2ce2aa42fc3ff86125cdb751e63c authored over 5 years ago
Fixed linebreak removal in `else`/`catch` blocks
9a19c5095cfe0f3f07e98b99807e238ddcbee775 authored over 5 years ago
9a19c5095cfe0f3f07e98b99807e238ddcbee775 authored over 5 years ago
Fixed duplicate header comment insertion
515fe572cc1c2964900fb9d44b9cce8f7404c48c authored over 5 years ago
515fe572cc1c2964900fb9d44b9cce8f7404c48c authored over 5 years ago
Fixed timeout when formatting an empty file
8e2fb402b9400c73b3cf421e312aefcbea78591a authored over 5 years ago
8e2fb402b9400c73b3cf421e312aefcbea78591a authored over 5 years ago
Fixed {file} replaced with project folder (#445)
ce7eacf489f02d30af2ba4970eecf4f7fe564579 authored over 5 years ago
ce7eacf489f02d30af2ba4970eecf4f7fe564579 authored over 5 years ago
Fixed `yodaConditions` bug
0ffb4cdc0689557051913e5cc786646a0a7991de authored over 5 years ago
0ffb4cdc0689557051913e5cc786646a0a7991de authored over 5 years ago
Fixed missing newlines in CLI output
32ba97ddb8a5a8fae0e11750808df938f09f8785 authored over 5 years ago
32ba97ddb8a5a8fae0e11750808df938f09f8785 authored over 5 years ago
Fixed `redundantObjc` rule for fileprivate (#449)
c4391554b4b6c942c0d4e0d6a054ec6aea6e0c12 authored over 5 years ago
c4391554b4b6c942c0d4e0d6a054ec6aea6e0c12 authored over 5 years ago
Fixed blank lines removed inside string literals
77a69328092ac585d25ca30bc5709498b505ceba authored over 5 years ago
77a69328092ac585d25ca30bc5709498b505ceba authored over 5 years ago
Updated for 0.40.9 release
ef65f79ccdc80216624bd2f609cb037a098ca1bb authored over 5 years ago
ef65f79ccdc80216624bd2f609cb037a098ca1bb authored over 5 years ago
Fixed bug in `—trailingclosures` whitelist
be8f9d028da87a43eb9d1ad458e5cdf607d08032 authored over 5 years ago
be8f9d028da87a43eb9d1ad458e5cdf607d08032 authored over 5 years ago
Fixed bug with `redundantSelf` and closures
fdc2e9bbe44cff8cf6b0ccd0b264c4ad82b40b26 authored over 5 years ago
fdc2e9bbe44cff8cf6b0ccd0b264c4ad82b40b26 authored over 5 years ago
Fixed bug with `redundantSelf` insert after `let`
cac3be1eb44415236efa950827701c6db7c91f89 authored over 5 years ago
cac3be1eb44415236efa950827701c6db7c91f89 authored over 5 years ago
Fixed bug with`redundantSelf` and shadowed `self`
2d2ba0893bc6eace1d8a3ee0f55d9f43f81e55b5 authored over 5 years ago
2d2ba0893bc6eace1d8a3ee0f55d9f43f81e55b5 authored over 5 years ago
Fixed `redundantObjc` rule for private members
7eaf6859066d0b270723f5b8633e03f732e5b3cb authored over 5 years ago
7eaf6859066d0b270723f5b8633e03f732e5b3cb authored over 5 years ago
Fixed bug in `isEmpty` rule
ea5c7d5f9545a1a24813a9b57661228c1b61c870 authored over 5 years ago
ea5c7d5f9545a1a24813a9b57661228c1b61c870 authored over 5 years ago
Fix extra newline when printing content to stdout (#430)
55cac4f9c72d56c736d19d4cfff1c894eb130a5e authored over 5 years ago
55cac4f9c72d56c736d19d4cfff1c894eb130a5e authored over 5 years ago
Fixes enhanced `fileHeader` rule (#433)
67e9fb9fb0a529647d3f375d753ad370ca250982 authored over 5 years ago
67e9fb9fb0a529647d3f375d753ad370ca250982 authored over 5 years ago
Added note about building with macOS 10.14.3
40cd20b18782483a9b6d1213c16143471be3d710 authored almost 6 years ago
40cd20b18782483a9b6d1213c16143471be3d710 authored almost 6 years ago
Updated for 0.40.8 release
8b3e855384f15847915fa3a02019185ee7515107 authored almost 6 years ago
8b3e855384f15847915fa3a02019185ee7515107 authored almost 6 years ago
Fixed some `—self insert` edge cases
f6705953d0cc29a735e1aa1f0543f4d9ff36497f authored almost 6 years ago
f6705953d0cc29a735e1aa1f0543f4d9ff36497f authored almost 6 years ago
Added test for self-insert in case let (#420)
e9fb71236ba7c42608717442f8d8d722fd45cb80 authored almost 6 years ago
e9fb71236ba7c42608717442f8d8d722fd45cb80 authored almost 6 years ago
Updated for 0.40.7 release
4111b18c80aa0b817cc8f3978498ffe451f40662 authored almost 6 years ago
4111b18c80aa0b817cc8f3978498ffe451f40662 authored almost 6 years ago
Preserve case-differing imports (#400)
76f5c0c3bcc0ee30b712e14cb585bfe36f756e7d authored almost 6 years ago
76f5c0c3bcc0ee30b712e14cb585bfe36f756e7d authored almost 6 years ago
Fixed tokenizing of postfix operator followed by .
f39081515442fb67c6bec895a5ec921cf2c666a2 authored almost 6 years ago
f39081515442fb67c6bec895a5ec921cf2c666a2 authored almost 6 years ago
Fixed bug with `andOperator` in repeat/while loops
b0be9ccb17c07fd29d22b1b4776b4d1817634f29 authored almost 6 years ago
b0be9ccb17c07fd29d22b1b4776b4d1817634f29 authored almost 6 years ago
Fixed bug with redundantFileprivate and subclasses
4d68d65dfc11efd929a55d1b2fccb9b2d0c383e7 authored almost 6 years ago
4d68d65dfc11efd929a55d1b2fccb9b2d0c383e7 authored almost 6 years ago
Refactored —self insert logic and tests
8a97c8bfef4138b9bc4d49fb545c9da9eec93dbb authored almost 6 years ago
8a97c8bfef4138b9bc4d49fb545c9da9eec93dbb authored almost 6 years ago
Simple fix for inserting self into parameter names
6755dc8712fe9394edce929fe67828ad055e2521 authored almost 6 years ago
6755dc8712fe9394edce929fe67828ad055e2521 authored almost 6 years ago
Added test for self-insert in parameter name
44715c13a75d11b23f26ab263d78e8ef6661d452 authored almost 6 years ago
44715c13a75d11b23f26ab263d78e8ef6661d452 authored almost 6 years ago
Updated for 0.40.6 release
a94222c63b5d9e76e14ee84c47f263339e4e7010 authored almost 6 years ago
a94222c63b5d9e76e14ee84c47f263339e4e7010 authored almost 6 years ago
Fixed self insertion bug
948598bddae48b984da745aad57e8b13e5a7d2b6 authored almost 6 years ago
948598bddae48b984da745aad57e8b13e5a7d2b6 authored almost 6 years ago
Fixed generic & protocol declaration
d7a042b119472d917402045874f8877dfa2b861c authored almost 6 years ago
d7a042b119472d917402045874f8877dfa2b861c authored almost 6 years ago
Added regression test suite
7634354e55ad99b5cedf6a20fec2d98c5cbbfc25 authored almost 6 years ago
7634354e55ad99b5cedf6a20fec2d98c5cbbfc25 authored almost 6 years ago
Added —unexclude option
675981fb9416ea765ce8e09c56f1155b38a72697 authored almost 6 years ago
675981fb9416ea765ce8e09c56f1155b38a72697 authored almost 6 years ago
Updated settings for Xcode 10.2
b89855ed1f8b79af84eec8e4604ee215388e0f8e authored almost 6 years ago
b89855ed1f8b79af84eec8e4604ee215388e0f8e authored almost 6 years ago
Updated for 0.40.5 release
24ed4ce9202512043ac5b808de30290e396b2984 authored almost 6 years ago
24ed4ce9202512043ac5b808de30290e396b2984 authored almost 6 years ago
Added init-only support to explicitSelf inference
afb48d9e8256ec81de7cb736fe26aaa2c950de94 authored almost 6 years ago
afb48d9e8256ec81de7cb736fe26aaa2c950de94 authored almost 6 years ago
Added inline semicolon inference
a4008bd8d0b57128f6ff70627ab5d4add3e1fabd authored almost 6 years ago
a4008bd8d0b57128f6ff70627ab5d4add3e1fabd authored almost 6 years ago
Fixed bug in self removal around #ifdefs
342afe150e21c1bc629fb472ad5b92f0c9c584fe authored almost 6 years ago
342afe150e21c1bc629fb472ad5b92f0c9c584fe authored almost 6 years ago
Fixed bug when tokenizing generic declarations
10fb9b94975175ed369fc99160362bd465c6adb9 authored almost 6 years ago
10fb9b94975175ed369fc99160362bd465c6adb9 authored almost 6 years ago
Fixed bug when tokenizing chevron operators
b70b39f83a6dfe5416940c953c2dcf99c8138cc5 authored almost 6 years ago
b70b39f83a6dfe5416940c953c2dcf99c8138cc5 authored almost 6 years ago
Fixed indenting of #if inside switch after comment
69b1048cb169cca92a2443cb3728657ca7f52325 authored almost 6 years ago
69b1048cb169cca92a2443cb3728657ca7f52325 authored almost 6 years ago
Cleaned up indent rule logic
bce01425f8a8850845809df6c59c16225d9de943 authored almost 6 years ago
bce01425f8a8850845809df6c59c16225d9de943 authored almost 6 years ago
Fixed indenting of comments before #if/#else
444c6b6af4d1dda6b1b01cec9b6c2621690fd9c0 authored almost 6 years ago
444c6b6af4d1dda6b1b01cec9b6c2621690fd9c0 authored almost 6 years ago
Updated for 0.40.4 release
5e81f810ef2402574bdb3dee4a5100a139fe8bea authored almost 6 years ago
5e81f810ef2402574bdb3dee4a5100a139fe8bea authored almost 6 years ago
Fixed explicit double parens around Selector
6b85eed1a4fda88eba18c4b576682438dd854192 authored almost 6 years ago
6b85eed1a4fda88eba18c4b576682438dd854192 authored almost 6 years ago
Blacklisted performBatchUpdates trailing closure
66cf9739b6fd06ff3f32035d3b731e9457b45abb authored almost 6 years ago
66cf9739b6fd06ff3f32035d3b731e9457b45abb authored almost 6 years ago
Merge duplicate arguments for list-type options
311b14b93b3d11e6d4d6226d249d083c071b7c74 authored almost 6 years ago
311b14b93b3d11e6d4d6226d249d083c071b7c74 authored almost 6 years ago
Update Rules.md to add timestamp of strong/weak IBOutlet advice (#395)
e2a4cc4b615ff57da8f1f7eb6e0c407eb80bd3a2 authored almost 6 years ago
e2a4cc4b615ff57da8f1f7eb6e0c407eb80bd3a2 authored almost 6 years ago
Fixed keyPaths being broken by yodaConditions rule
26d203bcec42d3c8570e5642862a11d56b77c8da authored almost 6 years ago
26d203bcec42d3c8570e5642862a11d56b77c8da authored almost 6 years ago
Updated for 0.40.3 release
6cc5ab2a0f412b3d1de70a26625212cf81443f99 authored almost 6 years ago
6cc5ab2a0f412b3d1de70a26625212cf81443f99 authored almost 6 years ago
Further refinenment of redundantFileprivate logic
aa960bcdbc42ad7a3566f3f6f914fa58b26f369a authored almost 6 years ago
aa960bcdbc42ad7a3566f3f6f914fa58b26f369a authored almost 6 years ago
Fix redundantFileprivate breaking memberwise init
fc94232085e9d4baed69d16aede65c6aaf10c525 authored almost 6 years ago
fc94232085e9d4baed69d16aede65c6aaf10c525 authored almost 6 years ago
Avoid replacing fileprivate for protocol methods
24046044a0fdc0d675678df2feac61d79f1f5b5d authored almost 6 years ago
24046044a0fdc0d675678df2feac61d79f1f5b5d authored almost 6 years ago
Changed timeout message to better describe error
61f79aa41511eda90806500fc594725cd58a4e01 authored almost 6 years ago
61f79aa41511eda90806500fc594725cd58a4e01 authored almost 6 years ago
Fixed yodaConditions inside ternary expressions
f1da08a9b358aae3e289f0469bd3187535d63cc8 authored almost 6 years ago
f1da08a9b358aae3e289f0469bd3187535d63cc8 authored almost 6 years ago
Update for 0.40.2 release
ddd144ea79610a44a168addd7f3dba78f1e63b03 authored almost 6 years ago
ddd144ea79610a44a168addd7f3dba78f1e63b03 authored almost 6 years ago
Fixed bug with anonymous closure arguments
8748f7a34d9edd408b438a9ac2034d6840dc5250 authored almost 6 years ago
8748f7a34d9edd408b438a9ac2034d6840dc5250 authored almost 6 years ago
Fixed bug with yodaCondition before && or ||
6d69eaf6006510f0fa1fc38052b779dcb8234c15 authored almost 6 years ago
6d69eaf6006510f0fa1fc38052b779dcb8234c15 authored almost 6 years ago
Fixed redundantObjc bug with nested enums
b5003677429fe05f6847ec68aae9d6552cf2ed33 authored almost 6 years ago
b5003677429fe05f6847ec68aae9d6552cf2ed33 authored almost 6 years ago
Fixed bugs with trailingClosures in where & switch
0f942775856d382376463519d93e171752781f44 authored almost 6 years ago
0f942775856d382376463519d93e171752781f44 authored almost 6 years ago
Fixed bug with trailingClosures in case conditions
21243ccdf1c3ab4ba7a5fc6545bd9409b6ff2e07 authored almost 6 years ago
21243ccdf1c3ab4ba7a5fc6545bd9409b6ff2e07 authored almost 6 years ago
Fixed bug with trailingClosures in for..in loops
7bfd6a898f6d38b541c88630455d90874d988f23 authored almost 6 years ago
7bfd6a898f6d38b541c88630455d90874d988f23 authored almost 6 years ago
Fix bug with fragment and conflictmarkers options
b6d0065ca0e38d70d41581cba90dfaac9c0ebdb4 authored almost 6 years ago
b6d0065ca0e38d70d41581cba90dfaac9c0ebdb4 authored almost 6 years ago
Fixed swiftversion flag
c525507f0220e5e23a2b336c5b737b3febdca5c2 authored almost 6 years ago
c525507f0220e5e23a2b336c5b737b3febdca5c2 authored almost 6 years ago
Fixed isStartOfClosure bug breaking yodaConditions
029dca9ca5c5e5180364dd246ca38151e2d4a285 authored almost 6 years ago
029dca9ca5c5e5180364dd246ca38151e2d4a285 authored almost 6 years ago
Handle subscripts & calls on rhs of yodaCondition
49f2d59b0555f3d8bb2e175146a16fa789a5064f authored almost 6 years ago
49f2d59b0555f3d8bb2e175146a16fa789a5064f authored almost 6 years ago
Handle tuples & dict literals in yodaConditions
77105379aef43bfd4b78994260330c7ca17b0b8a authored almost 6 years ago
77105379aef43bfd4b78994260330c7ca17b0b8a authored almost 6 years ago
Fixed bug with yodaConditions and subscripts
1c3380bd63100aee0f2fa5bdfd7859373a7fba71 authored almost 6 years ago
1c3380bd63100aee0f2fa5bdfd7859373a7fba71 authored almost 6 years ago
redundantParens bug fixes
464796936ca3598bba14292dbe250478e2ecf39c authored almost 6 years ago
464796936ca3598bba14292dbe250478e2ecf39c authored almost 6 years ago
Updated for 0.40.1 release
8df6d1f1c4c0df37ed3172abb1da1a209922a77f authored almost 6 years ago
8df6d1f1c4c0df37ed3172abb1da1a209922a77f authored almost 6 years ago
Fixed dark mode support for SwiftFormat for Xcode
* Remove custom background colours from table view cells
* Setup more discreet borders in the ru...
Fixed trailingClosures bug
2a0042fc21e00881ba411f16eb32e16a0442723e authored almost 6 years ago
2a0042fc21e00881ba411f16eb32e16a0442723e authored almost 6 years ago
Updated for 0.40.0 release
3437edf55155058b8c76d613a31bb0f19e96968a authored almost 6 years ago
3437edf55155058b8c76d613a31bb0f19e96968a authored almost 6 years ago
Fixed bug with comments in arguments/collections
0e0aba92facd662245f86bbf77e6bd8697093920 authored almost 6 years ago
0e0aba92facd662245f86bbf77e6bd8697093920 authored almost 6 years ago
Refactored metadata tests and improved docgen
ad2e00e7813882a53c5468c0d1f1d7794bc504a0 authored almost 6 years ago
ad2e00e7813882a53c5468c0d1f1d7794bc504a0 authored almost 6 years ago
Added `leadingDelimiters` rule
e2d85114ef955ac66b55d4cc0e9cc963a51f7c8c authored almost 6 years ago
e2d85114ef955ac66b55d4cc0e9cc963a51f7c8c authored almost 6 years ago
Added timeout logic if rules get stuck in a loop
49faed8c1fc9774a4253f2df8ce564416221332a authored almost 6 years ago
49faed8c1fc9774a4253f2df8ce564416221332a authored almost 6 years ago
Improved consistency of capitalization, etc in CLI
fd029f002db287aae7af547b9b7f800548d85821 authored almost 6 years ago
fd029f002db287aae7af547b9b7f800548d85821 authored almost 6 years ago
Disable file logging in dryrun and lint modes
ac631bf37bec239f4992c1975bd19493edfc968e authored almost 6 years ago
ac631bf37bec239f4992c1975bd19493edfc968e authored almost 6 years ago
Disable wrapping of non-argument parentheticals
1fac25a2127181adf421a175db63aaa6fa3ead8e authored almost 6 years ago
1fac25a2127181adf421a175db63aaa6fa3ead8e authored almost 6 years ago
Converted long rule help to use multiline strings
49776359d0ffaa069a295f1666f36a024681bfbc authored almost 6 years ago
49776359d0ffaa069a295f1666f36a024681bfbc authored almost 6 years ago