Commit Graph
872 Commits
Author SHA1 Message Date
Nick Lockwood 15701ea7db Reduce spurious change tracking 2020-08-28 10:35:37 +01:00
Nick Lockwood 69bc86cac9 Fix assertion failure 2020-08-28 10:35:37 +01:00
Nick Lockwood 65ae33433d Simplify OptionDescriptor declaration process 2020-08-28 10:35:37 +01:00
Cal Stephens 58c771243b Fix issues with symbol import declarations 2020-08-28 10:35:37 +01:00
Cal Stephens 86bb845123 Patch issues with conditional compilation blocks 2020-08-28 10:35:37 +01:00
Cal Stephens d376110265 Don't insert category separators when there's only one category 2020-08-28 10:35:37 +01:00
Cal Stephens 61ad0a801e fix issues with trailing comments 2020-08-28 10:35:37 +01:00
Cal Stephens 72b43e3a4f Update some malformed marks to be formatted correctly (rather than being duplicated) 2020-08-28 10:35:37 +01:00
Nick Lockwood 23c8f7bdb5 Improve deprecation and disabling mechanisms 2020-08-28 10:35:37 +01:00
Nick Lockwood 3003170c10 Remove ranges rule & undeprecate ranges option 2020-08-28 10:35:36 +01:00
Nick Lockwood b4c048205c Disable multiline case rules by default 2020-08-24 11:43:45 +01:00
Nick Lockwood a77d2799de Improve redundantType rule 2020-08-24 11:43:45 +01:00
Facundo Menzella fa60eaf12a Add Redundant type rule (#706) 2020-08-24 11:43:45 +01:00
Nick Lockwood cac3ec207c Improve initCoderUnavailable rule 2020-08-24 11:43:44 +01:00
Facundo Menzella 1ef64988b2 Added initCoderUnavailable rule (#700) 2020-08-24 11:43:44 +01:00
Nick Lockwood e0b8c8c497 Make organizeDeclarations options non-optional 2020-08-24 11:43:44 +01:00
Nick Lockwood ec4df7d5ae Add runOnceOnly option to prevent timeout 2020-08-24 11:43:44 +01:00
Cal Stephens e1044ddd29 Remove rewritesEntireFile flag 2020-08-24 11:43:44 +01:00
Cal Stephens 03d1aeeede Fix issues with parseDeclarations 2020-08-24 11:43:44 +01:00
Nick Lockwood 28e0caac57 General refactoring 2020-08-24 11:43:44 +01:00
Nick Lockwood 64c7a99988 Reorganize parseDeclarations() tests 2020-08-20 00:06:55 +01:00
Cal Stephens 84793ac924 Add organizeDeclarations rule (#701) 2020-08-20 00:06:55 +01:00
Nick Lockwood 71462cfecd Add new void rule example and tests 2020-08-20 00:06:55 +01:00
Nick Lockwood 9f76ede6a2 Improve multilineSwitchCases rule 2020-08-20 00:06:54 +01:00
Nick Lockwood 76521b58ae Add rule for multiline switch cases (#691) 2020-08-20 00:06:54 +01:00
Nick Lockwood eefee58a1e Improve multilineEnumCases rule 2020-08-20 00:06:54 +01:00
Nick Lockwood 551f667316 Add isEnumCase helper 2020-08-19 20:28:51 +01:00
Facundo Menzella 93b2314936 Add rule for multiline enum cases (#686) 2020-08-14 00:24:22 +01:00
Nick Lockwood e5675ae493 Updated for 0.45.6 release 2020-08-12 01:06:17 +01:00
Nick Lockwood 8648f61aae Fix xcodeIndentation for wrapped type declarations 2020-08-11 23:51:43 +01:00
Nick Lockwood 757ab5f6c6 Add --yodaswap option 2020-08-11 22:03:24 +01:00
Nick Lockwood 6f6db9daa0 Fix indenting of allman braces 2020-08-11 02:02:08 +01:00
Nick Lockwood bb7d2a3a57 Updated for 0.45.5 release 2020-08-09 10:26:00 +01:00
Nick Lockwood ded3766748 Fix indenting of wrapped in inside closure 2020-08-09 08:32:48 +01:00
Nick Lockwood add7b27f69 Fix bug with conditional imports 2020-08-09 07:47:24 +01:00
Nick Lockwood 026550d01c Process .swiftformat files when using --stdinpath 2020-08-09 01:01:17 +01:00
Nick Lockwood 445abe35fc Fix throwing function braces mistaken for closure 2020-08-08 18:43:08 +01:00
Nick Lockwood 909cbea001 Updated for 0.45.4 release 2020-08-08 09:14:55 +01:00
Nick Lockwood 4110436376 Fix defaulting --wrapparameters to --wraparguments 2020-08-08 08:31:18 +01:00
Nick Lockwood 0fd8e49926 Fix indenting of --allman closure braces 2020-08-08 08:31:18 +01:00
Nick Lockwood 670bfffb37 Audit rules for --linerange compatibility 2020-08-05 18:21:13 +01:00
Nick Lockwood c970342893 Fix --linerange crash in blankLinesBetweenScopes 2020-08-05 18:20:36 +01:00
Nick Lockwood 9110b6179d Fix fileHeader rule stripping comment directive 2020-08-05 00:56:38 +01:00
Nick Lockwood 28170f8851 Fix guard else indenting 2020-08-04 23:29:18 +01:00
Nick Lockwood 133a1fa386 Updated for 0.45.3 release 2020-08-03 22:27:52 +01:00
Nick Lockwood 2662b90340 Fix spurious static member warning 2020-08-03 22:26:38 +01:00
Nick Lockwood 37f5d6aa0d Don't indent blank lines 2020-08-03 22:26:38 +01:00
Nick Lockwood 042d091619 Fix bug in isStartOfClosure affecting self removal 2020-08-03 22:26:38 +01:00
Nick Lockwood f93c3b0f28 Add --varattributes option 2020-08-03 22:26:38 +01:00
Nick Lockwood 2458e59007 Disable indent rule when using --linerange 2020-08-03 22:26:37 +01:00