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
|
80a1068a58
|
minor syntax fix in ControlStatementRule
|
2015-11-20 21:56:42 -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 |
|
Mickael Morier
|
8f1788ad5f
|
some refactor after code review
|
2015-11-11 21:20:51 +01:00 |
|
Mickael Morier
|
b18463154c
|
improve ControlStatementRule especially when several parentheses exists in condition and several bad cases appears
|
2015-11-11 16:36:47 +01: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 |
|
JP Simard
|
5b34dabe30
|
Merge pull request #176 from zippy1978/master
Added rule reference on command output to enable batch processing
|
2015-11-03 11:25:23 -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 |
|
JP Simard
|
12f3c345a7
|
[CHANGELOG] add entry for #167
|
2015-11-02 15:05:05 -08: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 |
|
David Potter
|
8748a4f3a2
|
Add guard statements to nonTriggeringExamples and triggeringExamples and fix tests.
|
2015-10-23 19:11:44 -07:00 |
|
David Potter
|
94b7ebdf36
|
Add support for the guard statement to ControlStatementRule.
|
2015-10-23 18:40:56 -07:00 |
|
JP Simard
|
57177e018d
|
update RulesCommand to print identifiers but not examples
|
2015-10-19 12:53:48 -07:00 |
|
JP Simard
|
fe5f1affc9
|
ViolationSeverity is now only .Warning and .Error
|
2015-08-30 22:21:59 -07:00 |
|
JP Simard
|
e95625ee79
|
update for swift 2
|
2015-08-27 14:20:51 -07:00 |
|
Keith Smiley
|
3f9786a22d
|
Lint parentheses around switch statements
|
2015-08-24 11:24:51 -07:00 |
|
JP Simard
|
30ef86b144
|
[ControlStatementRule] Fixed a few false positives
|
2015-05-28 14:49:25 -07:00 |
|
JP Simard
|
26075a2d4f
|
Trailing newline & file length violations are now displayed in Xcode: fixes #43
|
2015-05-28 12:11:13 -07:00 |
|
Andrea Mazzini
|
8a6c5e7f5d
|
Remove unused examples
|
2015-05-26 22:58:45 +02:00 |
|
Andrea Mazzini
|
86f5f85458
|
Split regex for specific keywords.
|
2015-05-26 22:54:11 +02:00 |
|
Andrea Mazzini
|
383bd3de43
|
Add ControlStatementRule
|
2015-05-26 22:04:19 +02:00 |
|