2853 Commits
Author SHA1 Message Date
Copilotandcalda 18d1cf6542 Fix docComments rule incorrectly converting enum case group comments to doc comments (#2557)
Co-authored-by: calda <cal.stephens@airbnb.com>
2026-06-14 16:47:38 -07:00
dependabot[bot] 2764a034fb Bump codecov/codecov-action from 6 to 7 in the github-actions group (#2556) 2026-06-13 08:52:03 -07:00
Cal Stephens 9fdfeee924 Update CLAUDE.md 2026-06-13 08:51:25 -07:00
Cal Stephens af9c8103ee Remove redundantStateInit rule (#2554) 2026-06-11 14:26:00 -07:00
Cal Stephens 334a8487cd Update redundantStateInit to not apply if the @State property declaration has an initial value (#2552) 2026-06-11 11:18:18 -07:00
Copilotandcalda 614f1606be Add before-non-local-declarations value for --doc-comments (#2550)
Co-authored-by: calda <cal.stephens@airbnb.com>
2026-06-11 11:06:21 -07:00
Copilot 1178e93112 Ignore top-level macro declarations in markTypes (#2547) 2026-06-09 15:15:11 -07:00
Cal Stephens 7015757c20 Update redundantSwiftUIGroup to remove Group containing single view (#2546) 2026-06-09 10:44:13 -07:00
Cal Stephens ce8eb9e49b Add redundantSwiftUIGroup rule (#2543) 2026-06-05 18:09:49 -07:00
Cal Stephens e06bef5d14 Add redundantStateInit rule (#2541) 2026-06-05 13:31:24 -07:00
Copilotandcalda 52d392a330 Fix blankLinesBetweenScopes incorrectly inserting blank line before #elseif directives (#2534)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-05-17 16:21:51 +09:00
Eric Horacek cc6688c1c4 Parse freestanding macro declarations (#2532) 2026-05-13 07:09:20 +09:00
Doug d17ef62654 Add --indent-blank-lines option to match the surrounding context (#2527) 2026-05-06 18:44:59 -07:00
Copilotandcalda fd5b4ac79c Fix false positive redundantSendable for indirect enum (#2529)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-05-06 07:56:26 -07:00
Copilotandcalda 11d06cca71 Fix spaceAroundParens incorrectly inserting space before Optional.some(...) in subsequent @Test arguments (#2526)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-05-05 08:17:02 -07:00
dependabot[bot] e88bc22660 Bump softprops/action-gh-release (#2523) 2026-04-27 07:24:48 -07:00
SUTHEESH SUKUMARAN cf424cb2b3 Add --line-wrap-threshold option for length-based wrapping (#2510) 2026-04-27 07:19:05 -07:00
Copilotandcalda d0425c3f42 Add --type-blank-lines consistent option (#2500)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-27 07:19:05 -07:00
Cal Stephens a5fa7a6a57 Update for 0.61.1 release 0.61.1 2026-04-27 07:08:28 -07:00
Anurag Saxena 814ae64026 Update VSCode integration instructions to use Run on Save (#2520) 2026-04-27 07:01:13 -07:00
Guillaume Hugues 3e5bdf2cf3 fix race condition when parsing config files (#2521) 2026-04-27 07:01:13 -07:00
Copilotandcalda 8b998f030d Fix redundantStaticSelf false positive inside closures and nested functions (#2518)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-27 07:01:13 -07:00
Nick Lockwood b48ffbc0bb Fix docs typo 2026-04-27 07:01:13 -07:00
dependabot[bot] a279d73671 Bump the github-actions group with 5 updates (#2453) 2026-04-27 07:01:13 -07:00
dependabot[bot] 249801f18f Bump the github-actions group with 5 updates (#2453) 2026-04-27 07:01:13 -07:00
Cal Stephens 3c174b1a01 Update dependabot PRs to target develop branch (#2516) 2026-04-27 07:01:13 -07:00
Copilotandcalda 0af344d444 Improve "Label Fixed Issues" CI workflow (#2515)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-27 07:01:13 -07:00
Alexey 1e0aaaa516 Fix unsafe keyword dot-spacing edge case (#2513) 2026-04-27 07:01:13 -07:00
Copilotandcalda a9ec7c34ce Fix redundantSelf crash on switch expression inside if-let binding chain (#2506)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-27 07:01:13 -07:00
Copilotandcalda 69672c5d8d Fix redundantEquatable removing manual == for types with Any.Type stored properties (#2503)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-27 07:01:13 -07:00
dependabot[bot] cb0c4e3372 Bump the github-actions group with 5 updates (#2453) 2026-04-27 07:01:13 -07:00
Cal Stephens 397309e736 Update for 0.61.0 release 0.61.0 2026-04-11 12:26:55 -07:00
Cal Stephens 09fe3ee70f Disable preferSwiftStringAPI by default due to iOS 16 / macOS 13 API availability (#2495) 2026-04-11 12:26:55 -07:00
Copilotandcalda 591d9c2a1e Update prepare_release.sh to build after formatting with new SwiftFormat version (#2496)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Eric HoracekandCodex 4ace97e09d Fix conditional import parsing with access modifiers (#2494)
Co-authored-by: Codex <noreply@openai.com>
2026-04-11 12:26:55 -07:00
SUTHEESH SUKUMARAN 78836b9959 Replace objc string methods with swift equivalents #2292 (#2491)
Add preferSwiftStringAPI rule (#2292)

Replaces the Objective-C bridged `replacingOccurrences(of:with:)` with
Swift-native `replacing(_:with:)`. The ObjC method has known Unicode
bugs (e.g. corrupting emoji flag sequences); the Swift equivalent is
safer, shorter, and available from Swift 5.7+.

Only the two-argument form is transformed — calls with `options:` or
`range:` are left unchanged as they have no direct Swift equivalent.
2026-04-11 12:26:55 -07:00
Copilotandcalda 05d684a648 Fix indentation of multiline raw string literals with --indent-strings (#2484)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
dependabot[bot] d24b89a736 Bump the github-actions group with 7 updates (#2483) 2026-04-11 12:26:55 -07:00
Copilotandcalda 835f6f287d Fix infinite loop in organizeDeclarations when opening brace has a trailing comment (#2478)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Copilotandcalda c0b2441381 Skip lint CI job for PRs with no diff (#2481)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Copilotandcalda a7681c91b5 Skip CI build / test jobs for PRs with empty diffs (#2479)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Copilotandcalda d8245dbba7 Fix closing brace indentation with --trimwhitespace nonblank-lines (#2477)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Kim de Vos d798a8a5e3 Add new format rule for wrapping case bodies (#2476) 2026-04-11 12:26:55 -07:00
acevif 93004fb971 Add Nix devShell installation guidance (#2474) 2026-04-11 12:26:55 -07:00
Manny Lopez 54f63a3822 Add redundantEmptyView rule (#2470) 2026-04-11 12:26:55 -07:00
Copilotandcalda e913427cab Fix redundantParens incorrectly removing () from @MainActor closure signatures (#2469)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Copilotandcalda ebcb440df9 Avoid wrapping inside parens of function declarations with no parameters (#2467)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
CopilotandCal Stephens 727c044bfa Fix extensionAccessControl incorrectly hoisting public onto extensions of nested internal types (#2461)
Co-authored-by: Cal Stephens <cal@calstephens.tech>
2026-04-11 12:26:55 -07:00
Copilotandcalda 3f4f61ba85 Update sortImports to support --import-grouping length,alpha (#2463)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00
Copilotandcalda 357efe0348 Add --test-case-access-control option for testSuiteAccessControl rule (#2457)
Co-authored-by: calda <1811727+calda@users.noreply.github.com>
2026-04-11 12:26:55 -07:00