JP Simard
|
7522635ad8
|
update SwiftLintFramework/Rules to follow Swift 3 API Design Guidelines
|
2017-01-09 19:37:53 -08:00 |
|
JP Simard
|
9e7cdc3282
|
update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines
|
2017-01-09 19:19:25 -08:00 |
|
JP Simard
|
a291bb594a
|
update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines
|
2017-01-09 17:53:07 -08:00 |
|
Marcelo Fabri
|
b18c98084c
|
Fix existing violations
|
2016-12-22 11:57:06 -02:00 |
|
Marcelo Fabri
|
13b0cfe623
|
Fixing inconsistencies
|
2016-12-08 18:29:57 -02:00 |
|
JP Simard
|
19fad01b29
|
make all enum members lowercase to comply with Swift 3 API Guidelines
|
2016-12-01 22:16:21 -08:00 |
|
Norio Nomura
|
3ff76e7ce8
|
Update SourceKitten
|
2016-11-04 20:24:21 +09:00 |
|
Norio Nomura
|
ec3f9d0c94
|
Fix line_length style violations, unused warnings
|
2016-10-13 22:40:45 +09:00 |
|
Norio Nomura
|
8bf15f1dba
|
Migrate to Swift 3.0
|
2016-10-09 01:09:50 +09:00 |
|
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 |
|
J Cheyo Jimenez
|
d3c17947fd
|
Add content of the todo statement to message
|
2016-08-21 21:41:23 -07:00 |
|
JP Simard
|
144495306b
|
rename rule configurations to expand "Config" to "Configuration"
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
6befe7e5a4
|
expand many instances of "config" to "configuration"
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
3f4b993847
|
rename ConfigProviderRule to ConfigurationProviderRule
|
2016-02-12 10:53:36 -08:00 |
|
Scott Hoyt
|
f722bcf360
|
All Rules (with the exception of MissingDocs) now provide some severity configuration.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
9b6f3070a3
|
Wrote ConfigurableRule, made ParameterizedRule's conform, moved configuration into rules themselves.
|
2016-01-11 11:21:49 -08:00 |
|
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
|
c31f33b49e
|
check isEmpty rather than test count against zero
|
2015-11-17 13:17:24 -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
|
75f4122f63
|
generalize TodoRule
|
2015-09-04 13:57:16 -07:00 |
|
JP Simard
|
3f3c6e550f
|
further generalized TodoRule
|
2015-09-04 13:46:57 -07:00 |
|
JP Simard
|
e947f58669
|
Generalize TodoRule
as prompted by my own recommendations... doh! https://github.com/realm/SwiftLint/pull/126#issuecomment-137846688
|
2015-09-04 13:46:57 -07:00 |
|
JP Simard
|
fe5f1affc9
|
ViolationSeverity is now only .Warning and .Error
|
2015-08-30 22:21:59 -07:00 |
|
JP Simard
|
a68a886d3f
|
minor tweaks
|
2015-05-25 15:23:21 -07:00 |
|
Chris Eidhof
|
e7a4e9f651
|
Rename examples from correct/failure to non-triggering and triggering
|
2015-05-25 14:46:14 -07:00 |
|
Chris Eidhof
|
20fd31672a
|
List of all the rules
|
2015-05-25 14:46:13 -07:00 |
|
Chris Eidhof
|
89ea957b05
|
Changed RuleExample to be a struct
|
2015-05-25 14:46:13 -07:00 |
|
Chris Eidhof
|
1456f067c0
|
Only show examples when it makes sense
|
2015-05-25 14:46:00 -07:00 |
|
Chris Eidhof
|
7cdcc24f70
|
Added the TodoRule
|
2015-05-25 14:45:28 -07:00 |
|
JP Simard
|
e2df0546d3
|
Split Rule into Rule and ParameterizedRule protocols (fixes #21)
|
2015-05-20 18:27:16 +02:00 |
|
Aaron Daub
|
15a100153d
|
Have the Rule protocol define its members as non-static so that we can pass around instances of Rule
|
2015-05-19 07:44:11 +02:00 |
|
JP Simard
|
c6221d4997
|
ColonRule
|
2015-05-18 05:18:56 +02:00 |
|
JP Simard
|
ffa691ac65
|
TodoRule
|
2015-05-18 05:15:55 +02:00 |
|