Commit Graph

32 Commits

Author SHA1 Message Date
JP Simard 4bb23dd75a omit self if it can be inferred 2016-11-28 22:18:56 -08:00
Marcelo Fabri 6a8ebe61c6 Use severityConfiguration in rules == function 2016-11-26 23:50:52 -02:00
Marcelo Fabri 3bacc80fc7 Add configuration to enforce/forbid trailing comma 2016-11-25 23:51:25 -02:00
Javier Hernández 84b8b03e89 Add configuration for trailing_whitespace to ignore comments 2016-11-04 07:19:56 +00:00
Brian Lu 21c4303bad Fix "Statment" typos 2016-10-21 21:07:37 -04:00
Angel Garcia 6161c9b001 Renamed rule and configuration to OverridenSuperCall 2016-10-20 09:44:18 +02:00
Angel Garcia 2d758dd70d Changed resolvedMethodNames to compute on configuration changes only 2016-10-19 11:20:31 +02:00
Angel Garcia 83141c1967 List of methods sorted by class+method name 2016-10-17 13:42:19 +02:00
Angel Garcia b3edc678a9 fixed white spacing 2016-09-26 11:29:33 +02:00
Angel Garcia 47ef5ca100 Added more methods to list of super calls 2016-09-06 11:06:19 +02:00
Angel Garcia 96de4ee866 Added super call configuration list 2016-09-05 10:59:06 +02:00
Cristian Filipov a60bcddc8f Fix #786: Private unit test rule not scoped to tests 2016-08-29 21:03:09 -07:00
rohan 26daddcf0d Adding new configuration for private outlet rules to allow private(set) 2016-08-25 00:08:05 -07:00
Cristian Filipov ea592e0e98 Add rule to check for private unit tests 2016-08-18 17:17:03 -07:00
bootstraponline 0d78cdb0c2 Add included to custom rules 2016-06-23 10:21:45 -04:00
Michael Skiba b2ad5fc5fb Code Review Updates
- renamed "standard" to "default"
- Updated formatting per code review
- added note to changelog
2016-06-09 21:57:35 -04:00
Michael Skiba d0247a382f added autocorrect support to the uncuddled else rule 2016-06-09 14:37:09 -04:00
Michael Skiba 7a56338eb0 uncuddled else folded into statement position
still needs autocorrect
2016-06-09 14:35:34 -04:00
JP Simard 25b7dc5cd5 remove redundant Bool ? "true" : "false" 2016-06-07 14:48:40 -07:00
Reimar Twelker 2917d939d9 Reduced setting ignoresEmptyLines in applyConfiguration(_:) to a single line 2016-06-07 14:15:32 -07:00
Reimar Twelker 7d0cd39abd Fixed line-length warning 2016-06-07 14:15:32 -07:00
Reimar Twelker 183e448530 Added severity to consoleDescription 2016-06-07 14:15:32 -07:00
Reimar Twelker a6b9fb0304 Changed expected value of ignores_empty_lines setting to Bool 2016-06-07 14:15:32 -07:00
Reimar Twelker 7e56b46024 Changed to match the actual keyword used in the configuration file 2016-06-07 14:15:32 -07:00
Reimar Twelker 76656e17b5 Fixed line-length and trailing-whitespace warnings 2016-06-07 14:15:32 -07:00
Reimar Twelker 940b0c194e Added a RuleConfiguration subclass specifically for the trailing whitespace rule.
Its `ignoresEmptyLines` flag controls whether the rule should ignore whitespace-indented empty lines when detecting violations and correcting files. By default, the flag is false.
2016-06-07 14:14:29 -07:00
JP Simard c66c5c8df0 formatting fixes
found running `swiftlint autocorrect --format`
2016-05-29 14:58:28 -07:00
Norio Nomura 39282654f4 Fix conditional_binding_cascade violations 2016-04-16 08:30:00 +09:00
JP Simard 601470ab8f expand some instances of "config" to "configuration" 2016-02-12 10:53:36 -08:00
JP Simard 144495306b rename rule configurations to expand "Config" to "Configuration" 2016-02-12 10:53:36 -08:00
JP Simard b2d954f655 rename ConfigType to ConfigurationType 2016-02-12 10:53:36 -08:00
JP Simard 5ad4e88ac0 move RuleConfigs to RuleConfigurations 2016-02-12 10:53:36 -08:00