Cal Stephens
|
a3dd82ca0d
|
Fix issue where modifiersOrder rule confused async effect for async modifier (#2237)
|
2025-09-29 08:28:36 -07:00 |
|
Nick Lockwood
|
aa41dc7544
|
Fix bug with test helper functions mistaken for tests
|
2025-09-29 08:28:36 -07:00 |
|
Cal Stephens
|
08c51ce965
|
Update redundantInit rule to apply to function calls with single trailing closure argument (#2232)
|
2025-09-29 08:28:36 -07:00 |
|
Cal Stephens
|
3aeb711d77
|
Fix bug where acronyms rule would incorrectly always capitalize potentially matching acronyms one letter before end of identifier (#2226)
|
2025-09-24 08:43:58 -07:00 |
|
Cal Stephens
|
d3cfc9df66
|
Fix issue where redundantAsync ignored await keyword in string interpolation (#2225)
|
2025-09-24 08:43:58 -07:00 |
|
Cal Stephens
|
1c1d501068
|
Improve trailingClosures support for multiple trailing closures, fix bug where trailing closures could be applied to ineligible function calls (#2224)
|
2025-09-24 08:43:58 -07:00 |
|
Cal Stephens
|
cd09163b42
|
Handle Swift 6.2 bug where trailing commas are not allowed in closure literal tuple return types (#2213)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
b27e7c59e0
|
Handle bug where Swift 6.2 doesn't allow trailing commas in tuples within generic types
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
02e458209a
|
Update trailingCommas rule to support bug fixes in Swift 6.2
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
fe0dd073ec
|
Update singlePropertyPerLine to preserve async let declarations (#2210)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
ebdc24c4a5
|
Improve support for XCTAssertEqual and XCTAssertNil in noForceUnwrapInTests (#2208)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
9fbd4f0909
|
Add redundantAsync rule (#2207)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
cd87505ae5
|
Add redundantThrows rule (#2206)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
0c45b4b4c3
|
Don't apply noForceTryInTests if function has a return type
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
5e82ae3ad6
|
Rename throwingTests rule to noForceTryInTests
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
703593f551
|
Add noForceUnwrapInTests rule (#2204)
|
2025-09-22 19:13:36 -07:00 |
|
Matt Czech
|
999ff9ec5d
|
Fix blankLinesAroundMark not ignoring trailing comments at start of scope (#2203)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
179fcae759
|
Fix bug where --type-body-marks remove wouldn't be respected on declarations with expected mark comment (#2200)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
fbbe980923
|
Add preferFinalClasses rule (#2196)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
d1e430c6a0
|
Add --default-test-suite-attributes option to preferSwiftTesting rule (#2192)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
d76ee377cf
|
Fix bug where markTypes rule wouldn't add marks after extensions (#2191)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
23e43f7ee4
|
Update trailingClosures rule to support multiple trailing closures (#2190)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
8fdb655ddc
|
Update propertyTypes rule to support Set literal initialization, in addition to arrays and dictionaries (#2189)
|
2025-09-22 19:13:36 -07:00 |
|
Nick Lockwood
|
035ce340d4
|
Make trailingCommas removal more strict
|
2025-09-22 19:13:36 -07:00 |
|
Nick Lockwood
|
b829018a8e
|
Add additional trailingCommas tests
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
5e7882baa8
|
Improve type-related helpers by adding TypeName type (#2187)
|
2025-09-22 19:13:36 -07:00 |
|
 via-guyandCal Stephens
|
33f7a6a108
|
Update propertyTypes rule support array and dictionary literals (#2185)
Co-authored-by: Cal Stephens <cal@calstephens.tech>
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
832e06822d
|
Add option to disallow partial wrapping of functions and collections (#2186)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
cb97a7e224
|
Update trailingClosures and trailingCommas rules to support optional function calls (#2184)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
5b343adc26
|
Add --type-body-marks remove option to organizeDeclarations (#2175)
|
2025-09-22 19:13:36 -07:00 |
|
Cal Stephens
|
d9b43df8b0
|
Update redundantPublic rule to apply to private types (#2167)
|
2025-09-22 19:13:35 -07:00 |
|
Cal Stephens
|
1e2aac8da6
|
Add support for Swift 6.2 raw identifiers (#2166)
|
2025-09-22 19:13:35 -07:00 |
|
paul.s
|
822d84a84a
|
Fix issue where redundantPublic broke @_spi annotated members (#2164)
|
2025-09-22 19:13:35 -07:00 |
|
Cal Stephens
|
d4a15aff9f
|
Add organizeDeclarations threshold options to organize types without adding marks (#2162)
|
2025-09-22 19:13:35 -07:00 |
|
Cal Stephens
|
56312dc423
|
Don't add access control marks in protocol bodies (#2159)
|
2025-09-22 19:13:35 -07:00 |
|
Nick Lockwood
|
24072c3e65
|
Convert elsePosition to an enum
|
2025-09-22 19:13:35 -07:00 |
|
Nick Lockwood
|
6b1791353e
|
Convert semicolons option to enum
|
2025-09-22 19:13:35 -07:00 |
|
Louis Prud’homme
|
0e6282849c
|
Add --blank-line-after-switch-case always option to blankLineAfterSwitchCase rule (#2150)
|
2025-09-22 19:13:35 -07:00 |
|
Cal Stephens
|
e73722e30f
|
Fix issue where redundantVoidReturnType rule accidentally removed closure type (#2153)
|
2025-09-22 19:13:35 -07:00 |
|
Cal Stephens
|
5bd55188f1
|
Fix issue where hoistTry rule could break @Test attributes containing try (#2152)
|
2025-09-22 19:13:35 -07:00 |
|
Cal Stephens
|
8a13b97d62
|
Update trailingCommas rule to handle generic function declarations
|
2025-07-14 18:31:07 -07:00 |
|
Cal Stephens
|
effd18860a
|
Update --trailing-commas always to preserve trailing commas even when not known to be supported by Swift 6.1
|
2025-07-14 18:31:07 -07:00 |
|
Cal Stephens
|
1e8f400456
|
Fix issue where redundantPublic rule didn't handle extensions on types defined in public extensions (#2139)
|
2025-07-14 06:46:09 -07:00 |
|
Cal Stephens
|
7cfa7f7095
|
Fix issue where trailing commas were unexpectedly removed from initializer argument lists (#2135)
|
2025-07-14 06:46:09 -07:00 |
|
Cal Stephens
|
49bd6898c6
|
Add --trailing-commas multi-element-lists option (#2133)
|
2025-07-13 11:32:06 -07:00 |
|
Cal Stephens
|
0f7c5e5c44
|
Update wrapEnumCases rule to use parseDeclarations() (#2130)
|
2025-07-13 11:32:06 -07:00 |
|
Cal Stephens
|
3166fd00d6
|
Update options from --alloneword to --kebab-case (#2123)
|
2025-07-13 11:32:06 -07:00 |
|
Cal Stephens
|
be46509756
|
Add test case to validate diff code block formatting in rule examples (#2120)
|
2025-07-13 11:32:06 -07:00 |
|
Nick Lockwood
|
80b93cd8b2
|
Improve Acronyms implementation and example
|
2025-07-13 11:32:06 -07:00 |
|
Cal Stephens
|
4ece74a8a6
|
Support escaping # characters in config files (#2114)
|
2025-07-13 11:32:06 -07:00 |
|