26 Commits
Author SHA1 Message Date
Nick Lockwood 30999dbf54 Use isUnwrapOperator where applicable 2024-11-24 08:57:02 +00:00
Nick Lockwood 4fd7bb0cbb Allow .self in keypaths 2024-11-24 08:57:02 +00:00
Nick Lockwood af5d8a6209 Fix unexpected false positive for blankLinesAtStartOfScope 2024-11-23 19:32:56 +00:00
Nick Lockwood 08d01edd0f Fix unusedArguments false positive with function labels 2024-11-23 15:31:30 +00:00
Nick Lockwood b1edec744f Insert correct linebreaks in sortTypealiases rule 2024-11-23 14:26:59 +00:00
Nick Lockwood 16fa5c199d Fix wrapEnumCases bug 2024-11-20 00:08:01 +00:00
Nick Lockwood 5fdd6a5707 Update for 0.55.0 release 2024-11-16 23:03:55 +00:00
Nick Lockwood 6e1349d6b3 Rename --preservesymbols to --preservedsymbols and add Package by default 2024-11-16 20:23:42 +00:00
Nick Lockwood 10b6a6c73f Rename --redundanttype to --propertytypes 2024-11-16 20:23:11 +00:00
Nick Lockwood c735e6bd7e Rename --onelineforeach to --inlinedforeach 2024-11-16 20:23:02 +00:00
Nick Lockwood 2106a86e07 Rename unusedPrivateDeclaration to unusedPrivateDeclarations 2024-11-16 20:23:02 +00:00
Nick Lockwood 4a57064842 Update docCommentsBeforeAttributes to apply to all modifiers 2024-11-16 20:23:01 +00:00
Nick Lockwood add0c34108 Rename propertyType rule to propertyTypes 2024-11-16 20:23:01 +00:00
Cal Stephens 841340f16a Make examples closure required for every FormatRule 2024-11-16 20:23:01 +00:00
Cal Stephens c79878b86e Move rule examples below implementation closure (#1832) 2024-11-16 20:18:32 +00:00
Nick Lockwood 6beebcd21c Move examples into rules files 2024-11-16 20:13:32 +00:00
Cal Stephens 798d5e3a7e Fix bug in markTypes for complex protocol extensions 2024-11-16 20:12:03 +00:00
Nick Lockwood 5e39daeef7 Update minimum supported Swift version to 5.3 2024-11-16 20:11:54 +00:00
Christian Clauss cf9e16b108 Fix typos discovered by codespell (#1835) 2024-11-16 20:11:53 +00:00
Cal Stephens 00e219d662 Fix missing lint output for organizeDeclarations rule (#1826) 2024-11-16 20:11:16 +00:00
Cal Stephens 63c257018e Add preserve option to spaceAroundRangeOperators and spaceAroundOperatorDeclarations (#1817) 2024-11-16 20:11:16 +00:00
Cal Stephens 709a1d5009 Add tests related to code organization and rule helper usage (#1808) 2024-11-16 20:11:16 +00:00
Cal Stephens 5a3e1f8880 Update MetadataTests.testRulesOptions() to check entire rule file, remove some special cases (#1799) 2024-11-16 20:06:08 +00:00
Cal Stephens 72c30a1c26 Move rule-specific helpers from DeclarationHelpers.swift to OrganizeDeclarations.swift, improve shared helpers (#1798) 2024-11-09 11:26:29 +00:00
Cal Stephens 97169a8682 Update organizeDeclarations to avoid inserting blank lines inside consecutive groups of properties (#1795) 2024-11-09 11:26:29 +00:00
Cal Stephens 6ce3bd52c1 Implement each rule in a separate file (#1782) 2024-11-09 11:26:22 +00:00