Cal Stephens
|
6ce3bd52c1
|
Implement each rule in a separate file (#1782)
|
2024-11-09 11:26:22 +00:00 |
|
Cal Stephens
|
3465885e6c
|
Add docCommentsBeforeAttributes rule (#1766)
|
2024-11-09 11:26:22 +00:00 |
|
Cal Stephens
|
59482eebea
|
Improve code organization of organizeDeclarations rule and related helpers (#1765)
|
2024-11-09 11:26:22 +00:00 |
|
Cal Stephens
|
bd61342055
|
Improve expressiveness of --typeorder and --visibilityorder options (#1760)
|
2024-11-09 11:26:22 +00:00 |
|
Manny Lopez
|
efefb46ac3
|
Add unusedPrivateDeclaration rule to remove unused private and fileprivate declarations (#1750)
Co-authored-by: Cal Stephens <cal.stephens@airbnb.com>
|
2024-11-09 11:26:22 +00:00 |
|
oiuhr
|
4b9afd62e1
|
Add organizeDeclarations custom naming & ordering (#1736)
|
2024-11-09 11:26:22 +00:00 |
|
Miguel Jimenez
|
dc40627dfc
|
Add SwiftUI Property Wrapper declaration type (#1747)
|
2024-11-09 11:26:22 +00:00 |
|
Cal Stephens
|
6eb42022e5
|
Update preferInferedTypes rule to propertyType, add support for explicit option
|
2024-11-09 11:26:22 +00:00 |
|
Cal Stephens
|
11a8717a1d
|
Add preferInferredTypes rule
|
2024-11-09 11:26:21 +00:00 |
|
oiuhr
|
e5dbdb5dbd
|
Support automatic sorting by name pattern for sortDeclarations rule (#1731)
|
2024-11-09 11:26:21 +00:00 |
|
Ryzhov Evgeniy Igorevich
|
16b4f736d7
|
Alphabetically sort organized declarations by name pattern
|
2024-11-09 11:26:21 +00:00 |
|
Nick Lockwood
|
86ed209905
|
Update for 0.54.6 release
|
2024-10-08 18:12:30 +01:00 |
|
Cal Stephens
|
5a2966eae3
|
Fix issue where organizeDeclarations would add extra blank lines if type had blank lines with spaces (#1810)
|
2024-10-07 19:14:53 +01:00 |
|
Cal Stephens
|
e458ee4a72
|
Fix parseDeclarations bug where incorrect tokens could cause rules to time out (#1769)
|
2024-10-07 17:06:54 +01:00 |
|
Cal Stephens
|
c9847c9617
|
Include original token range when parsing declarations (#1759)
|
2024-10-07 17:06:46 +01:00 |
|
Nick Lockwood
|
bdc01a3265
|
Fix tokenizing of throwing closure in generic
|
2024-10-06 18:51:45 +01:00 |
|
Cal Stephens
|
82860046cc
|
Fix regression in wrapMultilineStatementBraces rule from bad isStartOfClosure result
|
2024-10-06 18:30:27 +01:00 |
|
Nick Lockwood
|
d878a3e90f
|
Fix type with where clause treated as local scope
|
2024-10-04 00:23:39 +01:00 |
|
Michael Waterfall
|
2f83fcfdac
|
Fix conditional bodies wrapping inside a single line string
Fixes "Cannot find ')' to match opening '(' in string interpolation" when line breaks are added in the middle of a single line string interpolation.
|
2024-09-22 10:39:56 +01:00 |
|
Nick Lockwood
|
ab6844edb7
|
Update for 0.54.5 release
|
2024-09-11 19:39:45 +01:00 |
|
Cal Stephens
|
175df295d7
|
Fix issue where forEach with 'guard ... else { return }' would be preserved unnecessarily
|
2024-09-11 19:33:05 +01:00 |
|
Nick Lockwood
|
4c733051b1
|
Fix unusedArguments crash
|
2024-09-09 21:32:02 +01:00 |
|
Nick Lockwood
|
c6680dd33c
|
Update for 0.54.4 release
|
2024-09-06 23:39:16 +01:00 |
|
Nick Lockwood
|
c0f6352cda
|
Fix unusedArguments false positive inside multiline string
|
2024-09-06 23:27:10 +01:00 |
|
Nick Lockwood
|
d16f02eabd
|
Fix incorrect bracket spacing inside macro
|
2024-09-05 06:09:31 +01:00 |
|
Nick Lockwood
|
ee2b049907
|
Fix opaqueGenericParameters bug with typed throws
|
2024-09-05 00:57:58 +01:00 |
|
Nick Lockwood
|
05d9513a77
|
Fix bugs where declaration scope was incorrectly identified
|
2024-09-04 20:02:57 +01:00 |
|
Nick Lockwood
|
449ee404a7
|
Fix spurious return removal insider catch...where
|
2024-09-03 23:47:13 +01:00 |
|
Nick Lockwood
|
9e5efea422
|
Slightly refactor header replacement logic
|
2024-09-03 23:47:03 +01:00 |
|
Nick Lockwood
|
a858981b21
|
Fix wrapped array type extension mistaken for collection
|
2024-09-01 18:52:41 +01:00 |
|
Nick Lockwood
|
23fbdff7a2
|
Fix invalid return removal
|
2024-09-01 18:41:10 +01:00 |
|
Miguel Jimenez
|
26dea4fdbb
|
Remove redundant Void from protocol definitions (#1824)
|
2024-09-01 17:55:13 +01:00 |
|
Cal Stephens
|
f86def87cb
|
Fix issue where unusedArguments didn't handle conditional assignment shadowing (#1815)
|
2024-09-01 09:46:23 +01:00 |
|
m-sugawara
|
076525b919
|
Fix typo in conditionalAssignment example (#1788)
|
2024-07-28 18:21:22 -07:00 |
|
Nick Lockwood
|
d6309f7440
|
Update for 0.54.3 release
|
2024-07-28 17:06:17 +01:00 |
|
Nick Lockwood
|
8d847ab2e8
|
Add @IBSegueAction to redundantObjc rule
|
2024-07-28 17:06:17 +01:00 |
|
Nick Lockwood
|
c607f6b3d7
|
Fix bug where line insertions were stripped from lint output
|
2024-07-28 17:06:17 +01:00 |
|
Nick Lockwood
|
61725f5d08
|
Disable conditional return removal if conditionalAssignment rule disabled
|
2024-07-28 17:06:17 +01:00 |
|
Nick Lockwood
|
bf63c4cc23
|
Fix incorrect --condassignment keyPath and add test
|
2024-07-28 17:06:17 +01:00 |
|
Nick Lockwood
|
e852a07301
|
Remove stray full stop
|
2024-07-28 17:06:17 +01:00 |
|
Cal Stephens
|
794340b2dc
|
Fix issue where --wrapeffects never could unexpectedly remove unrelated code (#1778)
|
2024-07-28 17:06:17 +01:00 |
|
Nick Lockwood
|
1a4e2fbfea
|
Update for 0.54.2 release
|
2024-07-22 09:40:18 +01:00 |
|
Nick Lockwood
|
de7ec22170
|
Fix cache
|
2024-07-22 09:18:11 +01:00 |
|
Nick Lockwood
|
e20ba85061
|
Improve blankLinesBetweenChainedFunctions rule
|
2024-07-22 09:18:11 +01:00 |
|
Cal Stephens
|
f3edca4314
|
Fix issue where redundantInternal would unexpectedly remove internal access control from declaration in public extension with where clause (#1763)
|
2024-07-22 09:18:11 +01:00 |
|
Rakuyo
|
d6f1f67969
|
Fix --nilInit insert being applied to as keyword (#1757)
|
2024-07-22 09:18:11 +01:00 |
|
Nick Lockwood
|
310bb198ab
|
Fix another case of spurious return removal
|
2024-07-20 20:47:47 +01:00 |
|
Nick Lockwood
|
e4965d9e8a
|
Update for 0.54.1 release
|
2024-07-10 20:56:55 +01:00 |
|
Nick Lockwood
|
dd689bdd93
|
Improve redundantReturn logic
|
2024-07-10 19:50:35 +01:00 |
|
Nick Lockwood
|
250a876e1e
|
Fix spurious return removal
|
2024-07-10 19:50:35 +01:00 |
|