Commit Graph

830 Commits

Author SHA1 Message Date
Bill Bagdon e7bcd72e32 Use implicit member expression 2016-09-01 14:49:43 -04:00
Bill Bagdon 51368ca740 Fix typo 2016-09-01 14:41:39 -04:00
wbagdon a63d47070a Remove whitespace from TODO message 2016-09-01 14:12:52 -04:00
Cristian Filipov f3e26e695a Merge branch 'master' of https://github.com/realm/SwiftLint 2016-08-30 21:57:32 -07:00
Cristian Filipov 8af3ea4af8 Update formatting 2016-08-30 21:50:39 -07:00
Ruotger Deecke c9e09e4190 fix Mark rule case // MARK: -
see https://github.com/realm/SwiftLint/issues/778
2016-08-30 17:09:28 +02:00
Cristian Filipov e402df4b73 Add unit test for issue #786 2016-08-29 21:17:37 -07:00
Cristian Filipov a60bcddc8f Fix #786: Private unit test rule not scoped to tests 2016-08-29 21:03:09 -07:00
J Cheyo Jimenez 651351e3bd fix for verticalspace regex bug 2016-08-28 21:43:42 -07:00
JP Simard 1ed079e814 fix setterAccesiblity typo 2016-08-25 14:36:35 -07:00
rohan 26daddcf0d Adding new configuration for private outlet rules to allow private(set) 2016-08-25 00:08:05 -07:00
dbeard 4cb44013eb Add redundant nil coalesing operator rule 2016-08-24 15:25:26 -07:00
JP Simard 0c605fb98d release 0.12.0 2016-08-24 12:30:57 -07:00
JP Simard f559abb2d5 make Vertical Whitespace rule opt-in
fixes #772
2016-08-24 12:29:24 -07:00
JP Simard 431758a82c Merge pull request #760 from cfilipov/cfilipov/fix_absolute_path
Use path arg as root for include/exclude paths
2016-08-23 11:59:30 -07:00
JP Simard 0026f301b6 Release 0.11.2 2016-08-23 11:52:45 -07:00
JP Simard 6dfaa0e1cc Merge pull request #761 from cfilipov/cfilipov/add_private_unit_test_rule
Add rule to check for private unit tests
2016-08-23 11:47:33 -07:00
Cristian Filipov caa6d5eb61 Merge remote-tracking branch 'upstream/master' into cfilipov/add_private_unit_test_rule 2016-08-22 23:32:05 -07:00
Cristian Filipov ed192f35bd Fix long lines and unit test 2016-08-22 23:17:50 -07:00
M. Porooshani c7d0cf04eb Fixed returns doc for init methods issue-557
Signed-off-by: M. Porooshani <porooshani@gmail.com>
2016-08-23 10:27:37 +04:30
JP Simard f737e734fd Merge pull request #768 from realm/mark_rule
Mark rule
2016-08-22 14:14:56 -07:00
JP Simard 98d03753b5 Merge pull request #747 from masters3d/aug6th2016
[new rule] VerticalWhitespace rule
2016-08-22 13:55:48 -07:00
JP Simard 99efae79a3 use File.matchPattern(_:withSyntaxKinds:) in MarkRule 2016-08-22 13:39:30 -07:00
Krzysztof Rodak af0add6a22 - Adding new MarkRule
- Adding test for new `MarkRule`
- Adding contribution to `CHANGELOG` file
- Adding new `MarkRule` to list of all rules in `MasterRuleList`
2016-08-22 13:33:37 -07:00
J Cheyo Jimenez 06d2a39e32 minor tweaks 2016-08-22 13:26:54 -07:00
JP Simard ff553a2d06 Merge pull request #762 from HaloZero/feature/guard-returns-on-new-line
[New Rule] Conditional Returns on Newline
2016-08-22 13:25:59 -07:00
JP Simard 3fffe7bd41 Merge pull request #765 from masters3d/todo-statement
Add content of the todo statement to message
2016-08-22 13:15:01 -07:00
J Cheyo Jimenez 854d1e6714 [new rule] VerticalWhitespace rule 2016-08-22 11:00:40 -07:00
Cristian Filipov c2a58a574a Merge remote-tracking branch 'upstream/master' into cfilipov/fix_absolute_path 2016-08-21 23:21:39 -07:00
Cristian Filipov e543b54a17 Update CHANGELOG & code spacing 2016-08-21 23:15:01 -07:00
Cristian Filipov 66c2303a92 Merge remote-tracking branch 'upstream/master' into cfilipov/add_private_unit_test_rule 2016-08-21 23:09:16 -07:00
Cristian Filipov dc3c41e627 Add description to AccessControlLevel 2016-08-21 22:53:56 -07:00
J Cheyo Jimenez d3c17947fd Add content of the todo statement to message 2016-08-21 21:41:23 -07:00
rohan 050ccd1797 Alphabetize rule, changing to configuration provider rule 2016-08-21 21:12:21 -07:00
HaloZero 37b4583121 Changing guard to conditional rule 2016-08-21 21:12:03 -07:00
rohan c79cd5c5a5 Adding new rule: Guard Returns on Newline 2016-08-21 21:12:03 -07:00
JP Simard fbe768ec3c assorted simplifications throughout the project 2016-08-21 18:36:16 -07:00
JP Simard 7bb369b92f minor tweaks after merging #757 2016-08-21 16:37:22 -07:00
JP Simard 2725e577f8 Merge pull request #757 from woodhamgh/changingToUseConfiguration
Warning threshold rule
2016-08-21 16:34:49 -07:00
George Woodham 8ce4af6f54 Changes after PR feedback. Removed ?? nil as this does nothing. Removed some redundant conditional 2016-08-22 11:21:29 +12:00
JP Simard 49ef19d1b2 address minor issues from #754 2016-08-21 14:57:12 -07:00
JP Simard 80b17405c4 Merge pull request #754 from AliSoftware/rule/private_outlets
[New Rule] private_outlet
2016-08-21 14:56:29 -07:00
JP Simard b0e4842910 fix long line I just added 2016-08-21 14:38:53 -07:00
JP Simard d433d5b197 small stylistic tweaks following #743 2016-08-21 14:31:05 -07:00
Cristian Filipov 1970c74c57 Update CHANGELOG and a couple minor changes 2016-08-20 20:43:05 -07:00
Cristian Filipov 809ca17e00 Make lines <=100 characters 2016-08-18 22:50:07 -07:00
Cristian Filipov 0a684da885 Fix rule description 2016-08-18 22:36:06 -07:00
Cristian Filipov ea592e0e98 Add rule to check for private unit tests 2016-08-18 17:17:03 -07:00
Cristian Filipov 27aa8e3383 Use path arg as root for include/exclude paths 2016-08-18 16:44:21 -07:00
George Woodham d8228aac8e Failing build 2016-08-18 17:04:02 +12:00