13 Commits

Author SHA1 Message Date
Cal Stephens c0558072ab Remove --optional-for-each convert option 2026-01-25 09:02:04 -08:00
Cal Stephens 20512c8860 Update preferForLoop rule to support optional forEach calls with --optional-for-each convert (#2294) 2026-01-25 09:02:04 -08:00
Nick Lockwood 6ea6ae64c7 Add new rules to project .swiftformat file 2025-10-04 08:46:46 +01:00
Cal Stephens 3166fd00d6 Update options from --alloneword to --kebab-case (#2123) 2025-07-13 11:32:06 -07:00
Cal Stephens 3225fb2681 Improve names of some existing options 2025-07-13 11:32:06 -07:00
Nick Lockwood c42207bd41 Update .swiftformat swiftfversion 2025-07-13 11:32:06 -07:00
Nick Lockwood c735e6bd7e Rename --onelineforeach to --inlinedforeach 2024-11-16 20:23:02 +00:00
Cal Stephens c79878b86e Move rule examples below implementation closure (#1832) 2024-11-16 20:18:32 +00:00
Nick Lockwood 6beebcd21c Move examples into rules files 2024-11-16 20:13:32 +00:00
Nick Lockwood 5e39daeef7 Update minimum supported Swift version to 5.3 2024-11-16 20:11:54 +00:00
Christian Clauss cf9e16b108 Fix typos discovered by codespell (#1835) 2024-11-16 20:11:53 +00:00
Cal Stephens 709a1d5009 Add tests related to code organization and rule helper usage (#1808) 2024-11-16 20:11:16 +00:00
Cal Stephens 6ce3bd52c1 Implement each rule in a separate file (#1782) 2024-11-09 11:26:22 +00:00