Commit Graph
125 Commits
Author SHA1 Message Date
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
Nick Lockwood 05e949d071 Added detailed rule documentation to command-line 2019-03-14 19:51:11 +00:00
Nick Lockwood 16989f5115 Fixed some potential bugs with nil FormatOptions 2019-03-06 21:32:14 +00:00
Nick Lockwood 889927b116 Don’t error if only ignored files are matched 2019-03-03 15:20:15 +00:00
Nick Lockwood 2bda3cccc8 Fix bug with swiftVersion incorrectly marked unset 2019-03-03 15:20:00 +00:00
Nick Lockwood 82f4c01e37 Added Linux support 2019-01-29 22:33:04 +00:00
Nick Lockwood b8502f62e7 Added options tooltips to Xcode Extension 2019-01-29 18:32:01 +00:00
Nick Lockwood da1e1e475b Improved option value naming consistency 2019-01-29 08:47:50 +00:00
Nick Lockwood 8b4a149098 Added swift version support
# Conflicts:
#	Sources/Options.swift
2019-01-29 08:47:41 +00:00
Nick Lockwood 6b27f5d94e Optimized glob file exclusion performance 2018-12-30 22:26:50 +00:00
Nick Lockwood d2b261b5e1 Updated for 0.37.0 release 2018-12-17 10:30:11 +00:00
Nick Lockwood 630ea753e8 Updated for 0.36.0 release 2018-12-15 00:07:46 +00:00
Nick Lockwood 381eeff6e8 Added init-only option for redundantSelf 2018-12-14 15:52:50 +00:00
Nick Lockwood a810248977 Fixed cache 2018-12-14 13:27:19 +00:00
Nick Lockwood 79b1e0ce34 Fixed error when --exclude matched no files 2018-12-14 13:26:42 +00:00
Nick Lockwood 5cbc394dcd Use warning output type for skipped files 2018-12-13 11:55:44 +00:00
Nick Lockwood f5b360f5f4 Removed meaningless verbose argument warning 2018-12-13 10:24:06 +00:00
Nick Lockwood 2045b96b7a Info messages now go to stderr and not stdout 2018-12-13 09:31:58 +00:00
Francisco Diaz dab66c368f Add option to group @testable imports at the top or bottom (#323)
* Add testable import new section option

* Add simple test case

* Add typealias

* Add simple test case

* Add new sorting algorithm for testable import

* Add enum to either group testable on top or bottom

* Remove redundant Equatable conformance

* alphabetically -> alphabetized
2018-11-23 11:39:26 +00:00
Nick Lockwood b3936dc24c Updated for 0.35.4 release 2018-09-05 13:42:49 +01:00
Nick Lockwood 2f30825150 Treat input paths split between arguments as error 2018-09-05 13:33:49 +01:00
Nick Lockwood 89971bb463 Added --quiet mode 2018-09-05 10:24:42 +01:00
Nick Lockwood 32a6fef424 Added glob support for excluded paths 2018-09-05 08:46:12 +01:00
Nick Lockwood 144b0040eb Improve path argument parsing 2018-09-03 10:33:53 +01:00
Nick Lockwood 0841f4877c Refactored skipped file logging 2018-08-21 10:58:14 +01:00
Allen Wu b6c9b7aba0 Log skipped files (#175) 2018-08-21 10:21:40 +01:00
Nick Lockwood f91467e8b7 Added --closingparen option 2018-08-20 21:39:25 +01:00
Nick Lockwood 32a8607c8d Fixed typo in command-line help 2018-08-20 10:11:13 +01:00
Nick Lockwood 55b476f421 Fixed bug where --rules displayed all as disabled 2018-08-10 16:23:46 +01:00
Nick Lockwood 0ff3fb0641 Updated for 0.35.1 release 2018-08-08 19:47:31 +01:00
Nick Lockwood 314afd9593 Improved cache behavior 2018-08-08 15:43:58 +01:00