Marat Nazirov
|
ac414ffd4f
|
Fix missing code wrapper in Rules.md (#1610)
|
2024-01-12 22:11:42 +00:00 |
|
Cal Stephens
|
df2b56d581
|
Add wrapLoopBodies rule
|
2024-01-08 17:28:34 +00:00 |
|
Nick Lockwood
|
3a7b04e73c
|
Add wrapLoopBodies rule
|
2024-01-08 17:28:34 +00:00 |
|
Cal Stephens
|
a7d6232aeb
|
Add noExplicitOwnership rule
|
2024-01-08 17:28:34 +00:00 |
|
Nick Lockwood
|
fa832ab015
|
Rename forLoop to preferForLoop
|
2024-01-08 17:27:20 +00:00 |
|
Cal Stephens
|
ee609d2819
|
Add rule to convert forEach { ... } calls to for loops (#1490)
|
2024-01-08 17:27:20 +00:00 |
|
Nick Lockwood
|
5d4a7202a2
|
Fix example
|
2023-10-02 23:33:58 +01:00 |
|
Nick Lockwood
|
2db539106a
|
Rename sortedImports to sortImports
|
2023-08-13 12:34:31 +01:00 |
|
Nick Lockwood
|
2125d57e29
|
Make --someAny option lowercase for consistency
|
2023-08-13 11:00:49 +01:00 |
|
Cal Stephens
|
85edf7bf51
|
Add redundantInternal rule (#1486)
|
2023-08-13 09:23:50 +01:00 |
|
Cal Stephens
|
49336eb534
|
Add sortTypealiases rule
|
2023-08-13 09:23:50 +01:00 |
|
Nick Lockwood
|
02066042e8
|
Update redundantReturn if / switch expression features to Swift 5.9+
|
2023-03-31 23:50:34 +01:00 |
|
noppefoxwolf
|
a6f0af2165
|
Fix typo (#1377)
|
2023-03-06 23:21:18 +00:00 |
|
Nick Lockwood
|
507bf9724f
|
Add hoistTry fixes and examples and enable by default
|
2023-02-28 22:45:21 +00:00 |
|
Cal Stephens
|
b7177328d7
|
[SE-0380] Add conditionalAssignment rule, update redundantType rule (#1364)
|
2023-02-28 22:11:31 +00:00 |
|
Cal Stephens
|
888b1c87e4
|
Update redundantReturn/Closure to support single-statement if/switch (SE-0380)
|
2023-02-28 22:11:31 +00:00 |
|
Nick Lockwood
|
009076c1c6
|
Add hoistAwait examples and enable by default
|
2023-02-28 22:11:31 +00:00 |
|
Vincent Guerci
|
f6dc081172
|
📝 Document fileHeader text tokens with example (#1325)
|
2023-01-27 19:09:14 +00:00 |
|
Taekyun Kim
|
6d200663c4
|
Fix parentheses omission (#1311)
|
2022-11-23 19:50:20 +00:00 |
|
Cal Stephens
|
f493888bd1
|
Add docComments rule to convert between regular/doc comments (#1266)
|
2022-11-23 18:48:11 +00:00 |
|
Nick Lockwood
|
b5c7c45792
|
Update to Swift 5.1
|
2022-09-28 21:20:33 +01:00 |
|
Cal Stephens
|
7a7a477031
|
Add --someAny option to opaqueGenericParameters rule (#1261)
|
2022-09-28 08:25:08 +01:00 |
|
Cal Stephens
|
4aa26db769
|
Implement genericExtensions rule (#1223)
|
2022-09-24 16:57:31 +01:00 |
|
Cal Stephens
|
03e7e138e5
|
Add rule to update generic methods to use opaque generic parameter syntax where equivalent (#1206)
|
2022-09-24 16:56:28 +01:00 |
|
Nick Lockwood
|
fa8bb65ad9
|
Improve blankLineAfterImports rule
|
2022-09-24 16:46:39 +01:00 |
|
Tsungyu Yu
|
c94091cdc7
|
Add blankLineAfterImports (#1173)
|
2022-09-24 16:46:39 +01:00 |
|
Cal Stephens
|
fefee5c35a
|
Add redundantOptionalBinding rule for Swift 5.7+ (SE-0345) (#1165)
|
2022-09-24 16:35:32 +01:00 |
|
Cal Stephens
|
363b972eb6
|
Add directive to sort declarations by name (#1068)
|
2022-03-06 23:49:15 +00:00 |
|
Huy Vo
|
2de02bad98
|
Add blankLinesBetweenImports rule
|
2021-12-04 08:38:50 +00:00 |
|
Cal Stephens
|
794e1482e5
|
Add redundantClosure rule (#998)
|
2021-12-04 08:38:50 +00:00 |
|
Nick Lockwood
|
d0668564be
|
Improve blockComments rule and add tests
|
2021-12-04 08:38:50 +00:00 |
|
Nick Lockwood
|
b9d6467702
|
Rename blockToLineComments to blockComments
|
2021-12-03 19:27:44 +00:00 |
|
Cal Stephens
|
2f0c141629
|
Improve blockToLineComments rule
|
2021-11-06 20:59:29 +00:00 |
|
sanjanapruthi
|
bb1cf9fc24
|
Add rule to remove block comments
|
2021-11-06 20:51:16 +00:00 |
|
Nick Lockwood
|
5dc3263247
|
Rename conditionalBodiesOnNewline to wrapConditionalBodies
|
2021-11-06 20:51:16 +00:00 |
|
PeterBuerer
|
cd21048bbc
|
Add rule to put conditional bodies on new lines (#989)
|
2021-11-06 17:09:35 +00:00 |
|
Cal Stephens
|
b128fe83ba
|
Add rule to capitalize acronyms (#943)
|
2021-11-06 16:09:02 +00:00 |
|
Cal Stephens
|
aba7db2db2
|
Add --redundanttype infer-locals-only option
|
2021-11-06 16:09:02 +00:00 |
|
sanjanapruthi
|
c353cbec6d
|
Add assertionFailures rule (#931)
|
2021-11-06 16:09:01 +00:00 |
|
Nick Lockwood
|
0f949c043d
|
Add actor support
|
2021-05-30 08:11:56 +01:00 |
|
Nick Lockwood
|
26fd167bf6
|
Extend supported prefersKeyPath functions
|
2021-04-21 00:21:14 +01:00 |
|
Cal Stephens
|
8810e19f05
|
Add customization option for grouped extensions, instead of hardcoding it
|
2020-10-13 20:35:08 +01:00 |
|
Cal Stephens
|
b6d24fb710
|
Add markTypes rule (#747)
|
2020-10-13 20:35:07 +01:00 |
|
Cal Stephens
|
05c48a9768
|
Add extensionAccessControl rule (#742)
|
2020-10-13 20:35:07 +01:00 |
|
Nick Lockwood
|
0765da5f9d
|
Rename multilineSwitchCases rule to wrapSwitchCases
|
2020-08-28 10:35:38 +01:00 |
|
Nick Lockwood
|
8202a5ab20
|
Rename multilineEnumCases rule to wrapEnumCases
|
2020-08-28 10:35:38 +01:00 |
|
Nick Lockwood
|
3003170c10
|
Remove ranges rule & undeprecate ranges option
|
2020-08-28 10:35:36 +01:00 |
|
Nick Lockwood
|
a77d2799de
|
Improve redundantType rule
|
2020-08-24 11:43:45 +01:00 |
|
Nick Lockwood
|
cac3ec207c
|
Improve initCoderUnavailable rule
|
2020-08-24 11:43:44 +01:00 |
|
Cal Stephens
|
84793ac924
|
Add organizeDeclarations rule (#701)
|
2020-08-20 00:06:55 +01:00 |
|