Commit Graph

19 Commits

Author SHA1 Message Date
JP Simard 85d8c68978 test violation locations 2015-12-27 13:33:42 -05:00
JP Simard 8d529f1804 Fix multibyte handling in many rules 2015-12-24 20:59:15 -05:00
JP Simard 96a4e6cc2f remove init() from Rule. 2015-11-29 21:43:53 -08:00
JP Simard 989127cbe0 [StyleViolation] use RuleDescription's description when reason is nil
Many cases just used a static string that was nearly identical to the rule
description as the `reason` parameter when initializing a StyleViolation.
2015-11-17 10:25:57 -08:00
JP Simard 76b30ee19b make all rule descriptions follow a consistent format 2015-11-17 10:18:29 -08:00
JP Simard 0335f155ab Perform major refactor of rule description, identifiers and examples
Fixes #183.
2015-11-04 12:24:33 -08:00
JP Simard 5cb80cfd22 All rules now print their identifiers in reports. Fixes #180. 2015-11-04 10:30:36 -08:00
Gilles Grousset 7feb26ebe2 Refactored Rule reference in StyleViolation
Now uses a String with the rule identifier
2015-11-03 13:31:29 +01:00
Gilles Grousset 7328b41da8 Added rule reference to StyleViolation
- Added rule reference to StyleViolation
- Added rule_id field on JSONReporter and CSVReporter
2015-11-01 02:00:04 +01:00
JP Simard fe5f1affc9 ViolationSeverity is now only .Warning and .Error 2015-08-30 22:21:59 -07:00
JP Simard 19cc87a404 Configure SwiftLint via a YAML file. Fixes #1 and #3. 2015-08-27 14:21:17 -07:00
JP Simard 29536759d1 update for Xcode 7 Beta 6 2015-08-27 14:20:51 -07:00
JP Simard 90dfe362a2 [OperatorFunctionWhitespaceRule] refactored rule. Fixes #60. 2015-06-17 10:37:52 -07:00
akirahrkw 752d970bc9 fix:
remove <String.Index> because Range infers
use trailing closure syntax
2015-06-17 17:54:39 +08:00
akirahrkw a2e0f2a06d remove parameter(showExample) to use default value 2015-06-17 02:16:35 +08:00
akirahrkw 4d0b34012e cleanup: remove unused variable 2015-06-17 02:11:44 +08:00
akirahrkw 10b9ce7fb9 Revert "remove unused variable"
This reverts commit f799880259.
2015-06-17 02:07:07 +08:00
akirahrkw f799880259 remove unused variable 2015-06-17 01:48:04 +08:00
akirahrkw 56e2ffb95b add OperatorFunctionWhitespaceRule
#60 https://github.com/realm/SwiftLint/issues/60
2015-06-17 01:24:47 +08:00