Nick Lockwood
|
825b4cdadb
|
Update for 0.53.7 release
|
2024-04-14 09:54:36 +01:00 |
|
Nick Lockwood
|
e6f1ce0ed6
|
Improve redundantInit metatype heuristic
|
2024-04-14 09:54:36 +01:00 |
|
Nick Lockwood
|
2179d960e2
|
Strip trailing .init from parsed types
|
2024-04-14 09:54:35 +01:00 |
|
Nick Lockwood
|
d04f5e8d82
|
Don't wrap single-line enums
|
2024-04-14 09:54:35 +01:00 |
|
Nick Lockwood
|
600700f09d
|
Fix wrapEnumCases mangling unindented cases
|
2024-04-14 09:53:05 +01:00 |
|
Nick Lockwood
|
bbe308f455
|
Fix bug where parens were incorrectly removed inside a closure
|
2024-04-13 15:00:04 +01:00 |
|
Nick Lockwood
|
9df3b01f47
|
Update for 0.53.6 release
|
2024-04-11 06:00:30 +01:00 |
|
Nick Lockwood
|
80d11369b1
|
Rename --doccomments default option
|
2024-04-06 19:55:14 +01:00 |
|
Nick Lockwood
|
0f3970e844
|
Fix keywords inside attribute expressions
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
a1aac58877
|
Don't strip required type from @Model class default values
|
2024-04-06 06:59:18 +01:00 |
|
Cal Stephens
|
d65b119d7b
|
Add option to preserve all doc comments, preserve regular comments before grouped declarations (#1638)
|
2024-04-06 06:59:18 +01:00 |
|
Cal Stephens
|
1508ce776b
|
Fix issue where redundantInit didn't work on collection types (#1659)
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
4f22fec795
|
Fix redundantParens rule for @MainActor closures
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
57d1caddea
|
Fix required parens removed around each X expression
|
2024-04-06 06:59:18 +01:00 |
|
Cal Stephens
|
5ff37a5703
|
Fix issue where --wrapreturntype if-multiline didn't work with arrays, dictionaries, tuples, or generic types
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
4ec41c76f7
|
Fix borrowing/consuming/isolated spacing in spaceAroundBrackets/Parens
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
7827054e87
|
Improve endOfScope() helper function
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
b33e2ad7b3
|
Improve startOfLine() helper function
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
6bb0f06b9a
|
Handle linebreaks between scoped imports
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
c8a463000d
|
Handle edge case for startOfScope helper
|
2024-04-06 06:59:18 +01:00 |
|
Nick Lockwood
|
9e5d0d588a
|
Update for 0.53.5 release
|
2024-03-17 09:50:39 +00:00 |
|
Nick Lockwood
|
f0a917300f
|
Make lint warnings/errors consistent
|
2024-03-17 09:36:39 +00:00 |
|
Nick Lockwood
|
03c6d248ae
|
Fix trailingCommas bug
|
2024-03-17 08:52:44 +00:00 |
|
Nick Lockwood
|
9a9022ba14
|
Rename indentForLine() to currentIndentForLine()
|
2024-03-16 16:57:04 +00:00 |
|
Nick Lockwood
|
f72c8d46a3
|
Improve unexpected static/class modifier messages
|
2024-03-16 11:16:31 +00:00 |
|
Nick Lockwood
|
1c635fd6d6
|
Fix parsing bug with nonisolated(unsafe) modifier
|
2024-03-16 11:16:31 +00:00 |
|
Nick Lockwood
|
96215a5dc8
|
Fix comment typo
|
2024-03-16 11:16:31 +00:00 |
|
Nick Lockwood
|
2c32cd6d2c
|
Fix hoisting try after string literal
|
2024-03-16 11:16:31 +00:00 |
|
Cal Stephens
|
cda4831620
|
Fix issue where parseExpressionRange wouldn't handle expressions with generic arguments, like 'Foo<Bar>()'
|
2024-03-16 11:16:31 +00:00 |
|
Cal Stephens
|
8a090088c8
|
Add Swift 6.0 to list of supported Swift versions (#1639)
|
2024-03-16 11:16:31 +00:00 |
|
Nick Lockwood
|
a03119407c
|
Update for 0.53.4 release
|
2024-03-09 08:07:35 +00:00 |
|
Nick Lockwood
|
1f03823a7d
|
Add support for do throws(Type)
|
2024-03-09 07:59:06 +00:00 |
|
Nick Lockwood
|
29cf62fd87
|
Ensure enumNamespaces excludes structs with attributes
|
2024-03-09 07:59:06 +00:00 |
|
Nick Lockwood
|
f96163080f
|
Ensure nonisolated(unsafe) works correctly
|
2024-03-09 07:59:06 +00:00 |
|
Nick Lockwood
|
dbc9a4406d
|
Update for 0.53.3 release
|
2024-03-02 11:01:19 +00:00 |
|
Nick Lockwood
|
b3e2b91088
|
Fix potential issues in enumNamespaces rule
|
2024-03-02 10:35:41 +00:00 |
|
Nick Lockwood
|
013247c926
|
Add preliminary support for typed throws
|
2024-03-02 10:20:53 +00:00 |
|
Nick Lockwood
|
fdd64321c7
|
Avoid mangling throwing or async forEach
|
2024-02-26 18:06:54 +00:00 |
|
Nick Lockwood
|
233cdad8fa
|
Handle case correctly in preferForLoop rule
|
2024-02-25 21:01:12 +00:00 |
|
Cal Stephens
|
cedf93a632
|
Fix issue where extension body wouldn't be sorted if organizeDeclarations was enabled but excluded declaration type (#1628)
|
2024-02-25 20:14:06 +00:00 |
|
Cal Stephens
|
1b3586a060
|
Fix conditionalAssignment bugs with @unknown default cases (#1623)
|
2024-02-25 20:14:06 +00:00 |
|
Nick Lockwood
|
607c7057e5
|
Update for 0.53.2 release
|
2024-02-17 12:38:55 +00:00 |
|
Nick Lockwood
|
e7449430c5
|
Fix unusedArguments edge case
|
2024-02-17 12:30:35 +00:00 |
|
Nick Lockwood
|
843b1f9ded
|
Fix bug with redundantSelf and @MainActor
|
2024-02-12 19:16:13 +00:00 |
|
Nick Lockwood
|
95d4039c9b
|
Improve keyword matching
|
2024-02-12 19:16:13 +00:00 |
|
Nick Lockwood
|
6498522350
|
Fix bug in hoistAwait rule
|
2024-01-31 08:33:28 +00:00 |
|
Nick Lockwood
|
402367fbe9
|
Update for 0.53.1 release
|
2024-01-26 18:35:30 +00:00 |
|
Nick Lockwood
|
d2148c730e
|
Preserve internal import
|
2024-01-26 00:20:26 +00:00 |
|
Nick Lockwood
|
630cdff508
|
Fix unusedArguments false positive
|
2024-01-26 00:20:26 +00:00 |
|
Nick Lockwood
|
ce6524c7ed
|
Fix duplicate file header bug
|
2024-01-26 00:20:26 +00:00 |
|