Manny Lopez
|
688ff0cae6
|
Add wrapSingleLineBodies rule (#2295)
|
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 |
|
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 |
|
Nick Lockwood
|
d866f44049
|
Support :this and :previous in comment directives
|
2025-07-13 11:32:06 -07:00 |
|
Cameron Pulsford
|
a65ea804ca
|
Add --trailingcommas collections-only option to opt out of Swift 6.1 trailing comma support (#2081)
Co-authored-by: Cal Stephens <cal.stephens@airbnb.com>
|
2025-07-13 11:32:06 -07:00 |
|
Nick Lockwood
|
c42207bd41
|
Update .swiftformat swiftfversion
|
2025-07-13 11:32:06 -07:00 |
|
Cal Stephens
|
40d8965e7d
|
Fix indentation of trailing closure after chained multiline method call (#1998)
|
2025-05-12 20:18:43 -07:00 |
|
Nick Lockwood
|
5e39daeef7
|
Update minimum supported Swift version to 5.3
|
2024-11-16 20:11:54 +00:00 |
|
Cal Stephens
|
63c257018e
|
Add preserve option to spaceAroundRangeOperators and spaceAroundOperatorDeclarations (#1817)
|
2024-11-16 20:11:16 +00:00 |
|
Nick Lockwood
|
25be105d2a
|
Refactor closingParenOnSameLine options
|
2024-06-10 23:50:07 +01:00 |
|
Nick Lockwood
|
89fa2935c4
|
Correctly handle _modify accessor
|
2024-06-09 18:47:04 +01:00 |
|
Nick Lockwood
|
e51ce8a47e
|
Correctly handle init accessor
|
2024-06-09 18:47:04 +01:00 |
|
Nick Lockwood
|
daf5c8d692
|
Rename closingparenfcall to callsiteparen
|
2024-06-09 18:47:04 +01:00 |
|
Robert Gering
|
164fb8acf3
|
Support inference of options.forceClosingParenOnSameLineForFunctionCalls
|
2024-06-09 18:47:04 +01:00 |
|
Nick Lockwood
|
95d4039c9b
|
Improve keyword matching
|
2024-02-12 19:16:13 +00:00 |
|
Nick Lockwood
|
b7dc882564
|
Improve options comment directive support
|
2023-02-16 20:48:53 +00:00 |
|
Nick Lockwood
|
b5c7c45792
|
Update to Swift 5.1
|
2022-09-28 21:20:33 +01:00 |
|
Nick Lockwood
|
b86d68a38f
|
Remove spurious keyword("async") references
|
2022-08-15 08:16:30 +01:00 |
|
Nick Lockwood
|
fab94f3ca1
|
Update for 0.49.1 release
|
2021-12-09 00:55:53 +00:00 |
|
Nick Lockwood
|
746cd7023e
|
Update for 0.48.12 release
|
2021-10-03 09:52:24 +01:00 |
|
Nick Lockwood
|
98848a5693
|
Extract global Swift functions list
|
2021-10-03 09:35:48 +01:00 |
|
Nick Lockwood
|
05c739a0ce
|
Apply --selfrequired to methods that must be called with self
|
2021-10-03 09:35:48 +01:00 |
|
Nick Lockwood
|
e549e8dff7
|
Fix indent inference bug
|
2021-01-10 23:19:22 +00:00 |
|
Nick Lockwood
|
2514082d9e
|
Prepare for async/await
|
2020-12-10 18:56:01 +00:00 |
|
Nick Lockwood
|
70f5cf51fe
|
Update for 0.47.3 release
|
2020-11-09 23:19:25 +00:00 |
|
Nick Lockwood
|
7f07e1e991
|
Fix allman inference
|
2020-11-09 20:11:32 +00:00 |
|
Nick Lockwood
|
b0e19d0975
|
Update for 0.47.1 release
|
2020-10-26 09:08:19 +00:00 |
|
Nick Lockwood
|
1f96916df2
|
Update for 0.47.0 release
|
2020-10-15 00:40:51 +01:00 |
|
Nick Lockwood
|
4110436376
|
Fix defaulting --wrapparameters to --wraparguments
|
2020-08-08 08:31:18 +01:00 |
|
Nick Lockwood
|
2662b90340
|
Fix spurious static member warning
|
2020-08-03 22:26:38 +01:00 |
|
Nick Lockwood
|
5d9a6f69f4
|
Add ability to raise errors inside rules
|
2020-08-01 12:24:51 +01:00 |
|
Nick Lockwood
|
92d6e60d68
|
Updated for 0.45.0 release
|
2020-07-30 01:47:15 +01:00 |
|
Nick Lockwood
|
50a71310da
|
Add --guardelse option
|
2020-07-30 01:38:56 +01:00 |
|
Nick Lockwood
|
945ef1528e
|
Add inference for noSpaceOperators option
|
2020-07-12 17:38:34 +01:00 |
|
Nick Lockwood
|
e52a902ef4
|
Add parameter inference
|
2020-06-30 23:32:13 +01:00 |
|
Nick Lockwood
|
f8059faebc
|
Fix incorrect wrap inference
|
2020-06-30 23:12:52 +01:00 |
|
Nick Lockwood
|
daadc2b9d2
|
Allow self in lazy vars if swift version >= 4
|
2019-12-27 23:17:37 +00:00 |
|
Nick Lockwood
|
7978a82146
|
Improve redundantBackticks conformance
|
2019-12-27 22:58:29 +00:00 |
|
Nick Lockwood
|
9cbe433dd3
|
Fix self removal in trailing closure var assign
|
2019-12-17 18:37:27 +00:00 |
|
Nick Lockwood
|
81c93afa95
|
Revert "Add line number data to Tokens."
This reverts commit b22f31eeb442da38e484199d8b6213704e12716d.
|
2019-12-15 22:48:53 +00:00 |
|
Nick Lockwood
|
4a0a48974b
|
Add original line number to linebreak token
|
2019-12-15 22:48:53 +00:00 |
|
Balázs Kilvády
|
58919f836d
|
Add line number data to Tokens.
|
2019-12-04 10:14:14 +00:00 |
|
Nick Lockwood
|
fadcd7d5b9
|
Fixed let hoisting bug
|
2019-09-23 22:08:02 +01:00 |
|
Nick Lockwood
|
23cf4a77fe
|
Fixed compiler crash when building with Xcode 11
|
2019-09-20 20:44:37 +01:00 |
|
Nick Lockwood
|
cac3be1eb4
|
Fixed bug with redundantSelf insert after let
|
2019-05-27 22:39:03 +02:00 |
|
Nick Lockwood
|
fdc2e9bbe4
|
Fixed bug with redundantSelf and closures
|
2019-05-27 22:39:03 +02:00 |
|
Nick Lockwood
|
2d2ba0893b
|
Fixed bug withredundantSelf and shadowed self
|
2019-05-27 22:39:02 +02:00 |
|
Nick Lockwood
|
f6705953d0
|
Fixed some —self insert edge cases
|
2019-04-16 17:35:55 +01:00 |
|
Nick Lockwood
|
8a97c8bfef
|
Refactored —self insert logic and tests
|
2019-04-12 09:02:03 +01:00 |
|