Commit Graph
575 Commits
Author SHA1 Message Date
Nick Lockwood c008fa16e0 Updated for 0.42.0 release 2019-12-01 09:58:43 +00:00
Nick Lockwood 7a36505bc0 Added wrap rule 2019-11-30 21:18:44 +00:00
Nick Lockwood b57628651a Fix extraneous linebreaks inserted by braces rule 2019-11-30 11:46:25 +00:00
Nick Lockwood 7a416c45d0 Add Formatter.insertLinebreak() utility function 2019-11-28 08:43:21 +00:00
Nick Lockwood 32181f1775 Remove redundant Equatable implementations 2019-11-28 08:43:21 +00:00
Nick Lockwood 991d71720b Fix redundantObjc example 2019-11-28 08:43:21 +00:00
Nick Lockwood d37997c32c Updated for 0.41.2 release 2019-11-27 09:15:34 +00:00
Nick Lockwood 6feea7be0b Fix bug with trailing comma added to type literal 2019-11-27 09:06:11 +00:00
Nick Lockwood e625b8d236 Updated for 0.41.1 release 2019-11-25 22:15:40 +00:00
Nick Lockwood cb183a038a Fix bug with linewrapping inside String literals 2019-11-25 21:58:10 +00:00
Nick Lockwood 0194de8c16 Updated for 0.41.0 release 2019-11-24 10:53:51 +00:00
Nick Lockwood 60b4931662 Fix indenting of wrapped for…in 2019-11-24 10:27:26 +00:00
Nick Lockwood c6ba42bd76 Fix indenting of wrapped is expression 2019-11-24 10:27:26 +00:00
Nick Lockwood 9810afd92f Add version check for redundantBackticks rule 2019-11-24 10:27:26 +00:00
Nick Lockwood 1e9b0ce85c Fix error when parsing escaped triple-quote 2019-11-24 10:27:26 +00:00
Nick Lockwood 8bd12ab828 Fix bug with comments before opening brace 2019-11-24 10:27:26 +00:00
Nick Lockwood 5b10d9ee63 Error if using —maxwidth without —tabwidth 2019-11-24 10:27:26 +00:00
Nick Lockwood 364cddd65f Added —maxwidth option for wrapArguments 2019-11-24 10:27:26 +00:00
Nick Lockwood 4caccdea37 Warn if —tabwidth is not specified when using tabs 2019-11-23 13:45:06 +00:00
Nick Lockwood 8b3dc1894a Added —tabwidth option 2019-11-23 13:45:06 +00:00
Nick Lockwood 0e63516ec8 Refined wrapArguments grouping behavior 2019-11-23 13:45:06 +00:00
Nick Lockwood 22f4e2b8b3 Show error if config file contains unknown option 2019-11-23 13:45:06 +00:00
Nick Lockwood 768be83fb2 Updated for 0.40.14 release 2019-10-28 22:53:38 +00:00
Nick Lockwood 99460bc9e2 Fix overriding fileprivate init 2019-10-28 21:48:17 +00:00
Nick Lockwood 9ed6f6b31b Don’t replace && insider ViewBuilder conditional 2019-10-28 08:01:05 +00:00
Nick Lockwood 003aa5c47d Fixed spurious return removal in catch let 2019-10-27 20:15:45 +00:00
Nick Lockwood a3c1a14c3e Made todos rule more flexible 2019-10-26 22:03:51 +01:00
Nick Lockwood ce0def07bd Don’t strip header comment from Package.swift file 2019-10-26 19:33:43 +01:00
Nick Lockwood 1f0d26082b Updated for 0.40.13 release 2019-10-10 19:53:41 +01:00
Nick Lockwood fadcd7d5b9 Fixed let hoisting bug 2019-09-23 22:08:02 +01:00
Nick Lockwood 8a14ef6bf6 Remove return from functions in Swift 5.1 2019-09-23 19:50:00 +01:00
Nick Lockwood 4cd3fab23a Updated for 0.40.12 release 2019-09-20 23:11:27 +01:00
Nick Lockwood b717ee03c6 Fixed redundantFileprivate breaking inner types 2019-09-20 21:52:08 +01:00
Nick Lockwood 23cf4a77fe Fixed compiler crash when building with Xcode 11 2019-09-20 20:44:37 +01:00
Zac West 561a5ee768 Fix --quiet preventing .raw output (#477)
Fixes #476. 32ba97d added a new case `raw` to handle the non-EOL-appended output. However, this new case isn't bypassed for `--quiet` like `.content` was, leading to potential output issues.
2019-09-01 18:40:30 +01:00
Nick Lockwood c4a1da3945 Updated for 0.40.11 release 2019-07-29 22:39:53 +01:00
Nick Lockwood 28087e7de7 Fix void rule inside generic parameters 2019-07-29 22:23:19 +01:00
Nick Lockwood b052575c96 Fixed incorrect removal of Void generic arguments 2019-07-29 21:13:10 +01:00
Nick Lockwood f0c56bf59b Fix nil init value removed with property wrappers 2019-07-19 09:11:53 +01:00
Colin Tremblay 86e7421ed3 Xcode style indentation for guards & enums (#442) 2019-07-19 08:49:34 +01:00
Nick Lockwood 0708f1eefe Updated for 0.40.10 release 2019-06-23 22:12:52 +01:00
Nick Lockwood 9a19c5095c Fixed linebreak removal in else/catch blocks 2019-06-23 13:47:26 +01:00
Nick Lockwood 515fe572cc Fixed duplicate header comment insertion 2019-06-23 13:19:44 +01:00
Nick Lockwood 8e2fb402b9 Fixed timeout when formatting an empty file 2019-06-23 12:48:01 +01:00
Nick Lockwood 0ffb4cdc06 Fixed yodaConditions bug 2019-06-23 12:26:49 +01:00
Nick Lockwood 77a6932809 Fixed blank lines removed inside string literals 2019-06-23 12:26:49 +01:00
Nick Lockwood 32ba97ddb8 Fixed missing newlines in CLI output 2019-06-23 12:26:49 +01:00
Richard Lee c4391554b4 Fixed redundantObjc rule for fileprivate (#449) 2019-06-23 12:26:49 +01:00
Dmitriy Borovikov ce7eacf489 Fixed {file} replaced with project folder (#445) 2019-06-23 12:26:49 +01:00
Nick Lockwood ef65f79ccd Updated for 0.40.9 release 2019-05-27 23:11:22 +02:00