Commit Graph

2716 Commits

Author SHA1 Message Date
Cal Stephens c8b8d61f32 Update for 0.59.0 release 0.59.0 2026-01-25 09:02:04 -08:00
Cal Stephens 6d72a96404 Keep unusedPrivateDeclarations disabled by default (#2321) 2026-01-25 09:02:04 -08:00
David Roman f6de0521ea Fix --ifdef no-indent for method chains and nested directives (#2319) 2026-01-25 09:02:04 -08:00
Cal Stephens a3e885c0a3 Update organizeDeclarations to sort members that don't affect a struct's synthesized memberwise init (#2318) 2026-01-25 09:02:04 -08:00
Cal Stephens 7b98567ab9 Update organizeDeclarations to handle that optional properties have an implicit default value (#2317) 2026-01-25 09:02:04 -08:00
Cal Stephens 32f61584d0 Update redundantSelf rule to support functions with no body (#2315) 2026-01-25 09:02:04 -08:00
Cal Stephens f914b48583 Update docComments rule to preserve formatting of comments with directives (#2314) 2026-01-25 09:02:04 -08:00
Lennon Wang 5b17fafbcf Correct the typo in the command line arguments of README.md (#2313) 2026-01-25 09:02:04 -08:00
Cal Stephens 983d77c954 Update organizeDeclarations rule to handle that private property wrapper variables with a default value don't affect memberwise initializer 2026-01-25 09:02:04 -08:00
Cal Stephens ded47995ae Fix issue where --prefer-synthesized-init-for-internal-structs option didn't handle properties with default values (#2311) 2026-01-25 09:02:04 -08:00
Andrei Zykov f848fae58b Add string escaping for XMLReporter (#2310) 2026-01-25 09:02:04 -08:00
Cal Stephens 4888e64821 Update redundantMemberwiseInit rule to support result builder attributes (#2304) 2026-01-25 09:02:04 -08:00
Cal Stephens c0558072ab Remove --optional-for-each convert option 2026-01-25 09:02:04 -08:00
Cal Stephens b7a8f49c26 Fix range crash in sortTypealiases rule 2026-01-25 09:02:04 -08:00
Manny Lopez 3d4dc98a01 Split wrapSingleLineBodies into wrapPropertyBodies and wrapFunctionBodies (#2298) 2026-01-25 09:02:04 -08:00
Miguel Jimenez b993e17594 Add redundantViewBuilder Rule (#2297) 2026-01-25 09:02:04 -08:00
Manny Lopez 688ff0cae6 Add wrapSingleLineBodies rule (#2295) 2026-01-25 09:02:04 -08:00
Cal Stephens 502ecc5aae Fix Linux release job 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
Cal Stephens 8917aa0313 Add --prefer-synthesized-init-for-internal-structs option (#2291) 2026-01-25 09:02:04 -08:00
Cal Stephens 98759dcbb5 Add CLAUDE.md (#2288) 2026-01-25 09:02:04 -08:00
Cal Stephens b755b34f69 Wrap closing paren of single-argument functions and collections if needed (#2281) 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
David Roman d3b707d7cc Add preserve ifdef indent mode (#2269) 2026-01-25 09:02:04 -08:00
Cal Stephens d02ba73bb5 Update typeSugar to only preserve optionals in structs with a synthesized memberwise initializer (#2260) 2026-01-25 09:02:04 -08:00
Manny Lopez de1b130b43 SimplifyGenericConstraints: Add 40 character limit to protocol composition (#2254) 2026-01-25 09:02:04 -08:00
Manny Lopez 2390292896 Update simplifyGenericConstraints rule to skip constraints with linebreaks within the protocol composition (#2251) 2026-01-25 09:02:04 -08:00
Cal Stephens b8984b48be Add validateTestCases and testSuiteAccessControl rules (#2249) 2026-01-25 09:02:04 -08:00
Manny Lopez e32f107656 Update SimplifyGenericConstraints for edge cases (#2246) 2026-01-25 09:02:04 -08:00
Manny Lopez 0a0ec17cf3 Add simplifyGenericConstraints rule (#2243) 2026-01-25 09:02:04 -08:00
Nick Lockwood bf498a9bf3 Fix various edge cases for spaceAroundBrackets 2026-01-25 09:02:04 -08:00
Nick Lockwood 25aaeea60e Fix space between paren and unsafe keyword 2026-01-25 09:02:03 -08:00
Nick Lockwood 251c4d8f7f Add isAttribute helpers 2026-01-25 09:02:03 -08:00
Nick Lockwood a246ebd9e5 Fix Windows release script 2026-01-25 09:02:03 -08:00
Nick Lockwood fdcf277230 Apply formatting 2026-01-25 09:02:03 -08:00
Nick Lockwood 8a397ef6c0 Fix Windows release script 2025-12-05 07:34:23 +00:00
Nick Lockwood 80d02aa3b3 Apply formatting 2025-11-29 16:16:13 +00:00
Nick Lockwood fb7ce2e469 Update for 0.58.7 release 0.58.7 2025-11-29 12:13:20 +00:00
Nick Lockwood fc042c29e9 Fix sortImports rule moving swift-tools-version line 2025-11-29 12:00:02 +00:00
Nick Lockwood c037026ffb Fix range crash 2025-11-29 12:00:02 +00:00
Nick Lockwood bc2cca2d60 Fix redundantSelf bug with if #available checks 2025-11-29 12:00:02 +00:00
Nick Lockwood 8afe6babb4 Fix getCommitHash() for file paths with spaces 2025-11-29 12:00:02 +00:00
David Roman 26ae579519 Fix mis-insertion for nil-init rule related to optional closure return values (#2279) 2025-11-29 12:00:02 +00:00
Nick Lockwood 66571a3a7b Fix unusedPrivateDeclarations when used outside enabled range 2025-11-29 12:00:02 +00:00
Nick Lockwood 4fab7f8897 Fix hoistTry bug with wrapped lines 2025-11-29 12:00:02 +00:00
Nick Lockwood fb167dd78c Fix crash in --ruleinfo when options exceed old max length 2025-11-29 12:00:02 +00:00
Nick Lockwood f231c67025 Reorganize tests 2025-11-29 12:00:02 +00:00
Nick Lockwood b8878ee112 Fix windows release 2025-11-29 12:00:02 +00:00
Nick Lockwood e6fe3e445b Update for 0.58.6 release 0.58.6 2025-11-11 21:30:39 +00:00