Commit Graph
56 Commits
Author SHA1 Message Date
Nick Lockwood f4e9554a40 Infer defaultArgument from FormatOptions struct 2018-07-25 00:10:41 +02:00
Nick Lockwood 3b619b40e0 Removed OptionsDescriptor id
# Conflicts:
#	Sources/OptionsDescriptor.swift
2018-07-25 00:10:41 +02:00
Nick Lockwood c2c8b871a0 Renamed wrapelements option to wrapcollections 2018-07-25 00:10:41 +02:00
Nick Lockwood 9f1dd09145 Stylistic changes
# Conflicts:
#	.travis.yml
#	Sources/OptionsStore.swift
2018-07-25 00:10:41 +02:00
Vince Burn ab894de954 Added Options UI to Xcode Source Editor Extension 2018-07-25 00:10:41 +02:00
Michael McGuire 2dbfb1764f Add --lint mode that turns on --dryrun but returns a non-zero error code if any files fail 2018-07-24 23:46:42 +02:00
Michael McGuire 4b95e6b7a1 Adding ExitCode and returning either .ok or .error depending on result of call 2018-07-24 23:46:37 +02:00
Nick Lockwood d25d31238c Ensure rules are applied in a deterministic order 2018-07-23 17:06:52 +01:00
Nick Lockwood 8dbfa11a2c Fixed bug in --conflictmarkers option 2018-07-23 15:31:39 +01:00
Vince Burn 74d77a293e conflictMarkers Add 2 arguments cases to match the documentation 2018-07-23 15:30:41 +01:00
Nick Lockwood 2d9d96de3b Updated for 0.33.7 release 2018-05-18 08:43:46 +01:00
Andrei Raifura b71991a919 Handle absolute paths (#257) 2018-05-14 18:40:30 +01:00
Yonas Kolb bde1992267 build with spm 2018-04-13 13:50:20 +01:00
Nick Lockwood b030fd0c1c Remove deprecated options from inferred options 2018-02-21 20:39:07 +00:00
Wolfgang Lutz 514e5bf6f5 fix typo in insertlines 2018-02-20 10:37:50 +00:00
Nick Lockwood ba2e9a76cd Updated for 0.33.1 release 2018-02-10 20:12:57 +00:00
Nick Lockwood 3364c94f95 Deprecated --insertlines/--removelines options 2018-02-10 17:31:29 +00:00
Nick Lockwood ad3f879358 Updated for 0.33.0 release 2018-02-01 22:24:07 +00:00
Clark S. Cox III 64fdc99407 Fix "exclusive accesses" violations
A single variable was being captured by a block and modified while also being passed by inout reference
2017-12-18 23:39:51 +00:00
Nick Lockwood 016b200285 Updated for 0.32.1 release 2017-12-07 11:30:43 +00:00
Nick Lockwood 3eb18f4740 Renamed dry to dryrun and added missing code paths 2017-12-07 09:49:22 +00:00
Johannes Marbach 7fa5e6e886 Add dry mode
This adds a new commandline option `--dry` that when specified
prevents actual file changes and instead prints out a log message
for every file that would have been changed.

Relates to #155
2017-11-30 12:48:21 +00:00
Nick Lockwood 7e1d94b5c6 Added public CLI API 2017-11-29 18:32:10 +00:00
Nick Lockwood a74384c2ed Updated for 0.31.0 release 2017-11-24 22:41:42 +00:00
Nick Lockwood 32e3282104 Fixed warnings and removed support for Swift 3.1 2017-11-24 17:52:28 +00:00
Nick Lockwood 5638de5595 Updated for 0.30.0 release 2017-10-27 14:12:17 +01:00
Nick Lockwood 97b1b0371d Added --indentcase option 2017-10-27 11:48:12 +01:00
Nick Lockwood eeb86b80b8 Added --elseposition option 2017-10-26 21:05:11 +01:00
Nick Lockwood ba64231466 Added --operatorfunc option 2017-10-26 18:28:16 +01:00
Nick Lockwood a8cf1caa82 Swift 3.2 and 4.0 compatibility fixes 2017-09-04 18:41:28 +01:00
Nick Lockwood 01ad4d5dd0 Swift 4 compatibility 2017-06-20 14:44:37 +01:00
Nick Lockwood eaef1d7142 Improved documentation + added documentation tests 2017-03-27 18:14:52 +01:00
Nick Lockwood fe30bddcff Added --self insert option 2017-03-24 18:25:30 +00:00
Nick Lockwood 79b0361e80 Added merge conflict marker detection 2017-03-24 18:23:36 +00:00
Nick Lockwood b5df0f546f Unified formatting logic + added recursion fix 2017-03-23 22:47:46 +00:00
Nick Lockwood 6da691e4dd Fixed bugs in error reporting 2017-03-23 22:46:56 +00:00
Nick Lockwood 1682be6716 Updated for 0.27.0 release 2017-03-17 21:25:06 +00:00
Nick Lockwood be4cd29166 Fixed some more redundantSelf bugs 2017-03-16 18:40:47 +00:00
Nick Lockwood ce22de1024 Improved verbose error grouping and logging 2017-03-16 18:40:47 +00:00
Ali Akhtarzada b1b9c56919 Add --exclude so that you can exlude files/folders from being formatted 2017-03-15 15:00:26 +01:00
Nick Lockwood ce75350f7c Added --verbose output option 2017-03-13 18:14:54 +00:00
Nick Lockwood a2372f739b Added patternlet option for let/var hoisting 2017-03-13 18:13:30 +00:00
Nick Lockwood bc5bd14a03 Updated for 0.25.0 release 2017-03-07 23:49:11 +00:00
Nick Lockwood 4b0af35f81 Replaced stripHeader rule with fileHeader rule 2017-03-07 23:26:16 +00:00
Nick Lockwood bfa570a3df Fixed rules not applied when reading from stdin 2017-02-09 09:08:21 +00:00
Nick Lockwood bf4016f622 Fixed caching bug 2017-01-19 18:28:18 +00:00
Nick Lockwood 9063602cf7 Added --stripunusedargs option 2017-01-18 18:08:59 +00:00
Nick Lockwood be1a2db13d Added --enable option and removed --closures 2017-01-18 18:08:18 +00:00
Nick Lockwood 10de14f097 Improved number grouping logic 2017-01-17 22:32:44 +00:00
Nick Lockwood 4553833ced Added number grouping inference 2017-01-17 18:16:02 +00:00