7 Commits

Author SHA1 Message Date
Cal Stephens 3166fd00d6 Update options from --alloneword to --kebab-case (#2123) 2025-07-13 11:32:06 -07:00
Cal Stephens be46509756 Add test case to validate diff code block formatting in rule examples (#2120) 2025-07-13 11:32:06 -07:00
Cal Stephens 0a0554e718 Update parseFunctionDeclaration to parse where clause explicitly instead of using unreliable endOfDeclaration helper
This fixes bugs where endOfDeclaration returning unexpected results in certain cases, like if the declaration was the last in a type body or a nested function, which would result in the parsed function incorrectly having `bodyRange: nil`
2025-05-12 20:18:43 -07: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
Nick Lockwood 5e39daeef7 Update minimum supported Swift version to 5.3 2024-11-16 20:11:54 +00:00
Cal Stephens 6ce3bd52c1 Implement each rule in a separate file (#1782) 2024-11-09 11:26:22 +00:00