21 Commits

Author SHA1 Message Date
Cal Stephens 2fcc583d76 Use doc comments before local functions 2026-01-29 19:53:51 -08:00
Manny Lopez 688ff0cae6 Add wrapSingleLineBodies rule (#2295) 2026-01-25 09:02:04 -08:00
Nick Lockwood 7aaff1cab5 Enable noForceUnwrapInTests rule by default 2026-01-25 09:02:04 -08:00
Nick Lockwood 079939f88e Enable more rules by default 2026-01-25 09:02:04 -08:00
Nick Lockwood b9d4e151b1 Fix bug with traversing conditional switch cases 2025-11-11 21:05:06 +00:00
Nick Lockwood 6ea6ae64c7 Add new rules to project .swiftformat file 2025-10-04 08:46:46 +01:00
Cal Stephens d9b43df8b0 Update redundantPublic rule to apply to private types (#2167) 2025-09-22 19:13:35 -07:00
Cal Stephens 760c32756c Add rule to remove redundant public access control from declarations in internal types (#2075) 2025-07-13 11:32:06 -07:00
Nick Lockwood 82f8b9734b Enable blankLineAfterImports by default 2024-01-08 17:28:34 +00:00
Nick Lockwood a7b695a3e5 Add headerFileName rule 2023-08-13 09:23:50 +01:00
Nick Lockwood 893fadd88b Update for 0.51.0 release 2023-02-28 22:45:21 +00:00
Cal Stephens f493888bd1 Add docComments rule to convert between regular/doc comments (#1266) 2022-11-23 18:48:11 +00:00
Nick Lockwood cba0cc4281 Fixed regression tests (previously disabled) 2022-08-16 18:54:00 +01:00
Nick Lockwood 92ea8c7b06 Fix removing self from unwrapped variables 2021-10-03 09:35:48 +01:00
Nick Lockwood 781ef02a18 Fix indenting for wrapped else if statements 2020-10-15 21:11:34 +01:00
Nick Lockwood f319b918f0 Indent wrapped statements like Xcode 12 2020-10-14 09:36:53 +01:00
Facundo Menzella fa60eaf12a Add Redundant type rule (#706) 2020-08-24 11:43:45 +01:00
Nick Lockwood 9f76ede6a2 Improve multilineSwitchCases rule 2020-08-20 00:06:54 +01:00
Nick Lockwood 50a71310da Add --guardelse option 2020-07-30 01:38:56 +01:00
Cal Stephens f0db723c39 Add wrapMultilineConditionalBraces rule (#668) 2020-07-25 09:02:36 +01:00
Nick Lockwood 7634354e55 Added regression test suite 2019-04-09 22:02:22 +01:00