Commit Graph

10 Commits

Author SHA1 Message Date
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 9be89a686e fix inappropriate uses of flatMap where we should be using map 2015-11-27 17:32:21 -08:00
JP Simard 9276ec178d fix statement position rule false positives. fixes #237. 2015-11-26 11:23:25 -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 4a5ac44897 add SyntaxKind.commentAndStringKinds() 2015-11-17 10:11:04 -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
Alex Culeva aa1fc70c9c Add StatementPosition rule 2015-11-03 22:27:26 +02:00