Commit Graph
155 Commits
Author SHA1 Message Date
Nick Lockwood 15701ea7db Reduce spurious change tracking 2020-08-28 10:35:37 +01:00
Nick Lockwood 65ae33433d Simplify OptionDescriptor declaration process 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 28e0caac57 General refactoring 2020-08-24 11:43:44 +01:00
Nick Lockwood 026550d01c Process .swiftformat files when using --stdinpath 2020-08-09 01:01:17 +01:00
Nick Lockwood 93ee7a1128 Add --linerange argument for formatting ranges 2020-08-03 22:16:58 +01:00
Nick Lockwood 92d6e60d68 Updated for 0.45.0 release 2020-07-30 01:47:15 +01:00
Nick Lockwood 84968e643d Add --smarttabs option (enabled by default) 2020-07-30 01:38:56 +01:00
Nick Lockwood 93d18aa502 Restore verbose file path log for unmodified files 2020-07-30 01:38:56 +01:00
Nick Lockwood ac3eccfc99 Improve test coverage for --swiftversion option 2020-07-29 18:19:17 +01:00
Nick Lockwood 23911b16d5 Fix duplicate file path logging in verbose mode 2020-07-11 17:15:11 +01:00
Nick Lockwood 82dcb2f48d Add --stdinpath option 2020-07-07 22:13:36 +01:00
Nick Lockwood 99e448441e Fix bug in explicit stdout 2020-07-02 09:43:30 +01:00
Nick Lockwood 4e2b8e9789 Add support for explicit --output stdout 2020-06-27 22:38:13 +01:00
Nick Lockwood 242483b9ec Improve help text 2020-05-31 14:01:16 +01:00
Nick Lockwood 392c5670b2 Add --minversion argument 2020-05-31 13:15:09 +01:00
Nick Lockwood d7d3d74b53 Added logging of config file location 2020-05-28 01:19:17 +01:00
Nick Lockwood 0e9ec71a8b Updated for 0.44.11 release 2020-05-23 02:12:06 +01:00
Nick Lockwood 213b7d5626 Remove "Failed to format any files" error 2020-05-23 00:31:05 +01:00
Nick Lockwood d20ef43a89 Downgrade no eligible files to a warning 2020-05-22 22:51:32 +01:00
Nick Lockwood bef31fe112 Fix deprecation warning 2020-05-22 09:16:36 +01:00
Nick Lockwood 8415f1a323 Fix misleading error message 2020-04-30 23:21:51 +01:00
Nick Lockwood eb6c89ba35 Improve error messaging for parseRules 2020-04-04 23:09:45 +01:00
Nick Lockwood 6836f23493 Support path expansion and comments in file list 2020-03-20 23:22:21 +00:00
Juri Pakaste add7269805 Support listing input files in a file
Add --filelist argument for supplying a file that contains the names
of files to process.
2020-03-20 22:37:12 +00:00
Nick Lockwood 08f3d703d3 Improve range-based formatting in extension 2020-01-15 22:45:22 +00:00
Nick Lockwood 738f7ae27e Reduce cache file cruft 2020-01-15 22:45:22 +00:00
Nick Lockwood b9d335acb9 Fix bug in change-tracking test infrastructure 2019-12-31 23:28:47 +00:00
Nick Lockwood d2747930cf Add warnings for deprecated options in config file 2019-12-31 23:28:46 +00:00
Nick Lockwood 9264fbafb4 Deprecate ranges rule 2019-12-31 23:28:46 +00:00
Nick Lockwood 9bac43e44e Add --nospaceoperators option 2019-12-27 16:32:59 +00:00
Nick Lockwood 920b88273f Add explicit stdin parameter option 2019-12-26 00:08:54 +00:00
Nick Lockwood 0eb4c8c363 Merge stdin functionality 2019-12-26 00:08:54 +00:00
Nick Lockwood d1c39f04ef Fix stdin timeout flakiness 2019-12-26 00:08:54 +00:00
Nick Lockwood 1aaead3d0d Add --lenient option to suppress lint errors 2019-12-17 09:29:39 +00:00
Nick Lockwood e723d00920 Improve change tracking 2019-12-16 09:04:19 +00:00
Nick Lockwood 81c93afa95 Revert "Add line number data to Tokens."
This reverts commit b22f31eeb442da38e484199d8b6213704e12716d.
2019-12-15 22:48:53 +00:00
Balázs Kilvády a0ce975bf0 Add Xcode style formatted warnings. 2019-12-04 10:14:14 +00:00
Balázs Kilvády 58919f836d Add line number data to Tokens. 2019-12-04 10:14:14 +00:00
Nick Lockwood 5b10d9ee63 Error if using —maxwidth without —tabwidth 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
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 32ba97ddb8 Fixed missing newlines in CLI output 2019-06-23 12:26:49 +01:00
Nick Lockwood 675981fb94 Added —unexclude option 2019-04-09 09:38:33 +01:00
Nick Lockwood c525507f02 Fixed swiftversion flag 2019-03-19 00:47:17 +00:00
Nick Lockwood ad2e00e781 Refactored metadata tests and improved docgen 2019-03-14 19:56:59 +00:00
Nick Lockwood ac631bf37b Disable file logging in dryrun and lint modes 2019-03-14 19:56:59 +00:00
Nick Lockwood fd029f002d Improved consistency of capitalization, etc in CLI 2019-03-14 19:56:59 +00:00
Nick Lockwood 7f87cab99f Log skipped files in output 2019-03-14 19:53:15 +00:00
Nick Lockwood f4eda5c334 Display documentation for multiple rules at once 2019-03-14 19:53:13 +00:00