Scott Hoyt
|
e5cbd81002
|
Switched out count > 0 with !isEmpty.
|
2016-01-13 19:45:27 -08:00 |
|
Scott Hoyt
|
f693279fb5
|
Removed ParameterizedRule. Deleted unnecessary tests. Switched tests to ViolationLevelRuleMock where needed.
|
2016-01-13 19:45:27 -08:00 |
|
Scott Hoyt
|
7c6feec509
|
Added ViolationLevelRule and tests.
|
2016-01-13 19:45:27 -08:00 |
|
Scott Hoyt
|
592a358d8c
|
Added deprecation warning for ParameterizedRule.
|
2016-01-13 19:45:27 -08:00 |
|
JP Simard
|
2f3b2096e6
|
support opt-in rules
|
2016-01-12 12:11:09 -08:00 |
|
Scott Hoyt
|
47f4889cb2
|
Removed redundant self.
|
2016-01-11 13:55:36 -08:00 |
|
Scott Hoyt
|
647371517e
|
Extracted arrayOf to Array extension and used to simplify VariableNameMinLengthRule.init?(config:).
|
2016-01-11 13:10:17 -08:00 |
|
Scott Hoyt
|
55fa348b6d
|
Made ParameterizedRule protocol inherit from ConfigurableRule with default implementation for conformance.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
46838b11f1
|
Fixed access level issues.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
d3184c9e28
|
Switched ParameterizedRule.init?(config:) to use a guard instead of if/else.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
811b625243
|
Generalized ParameterizedRule protocol conformance to ConfigurableRule.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
29cad2972a
|
Removed TODOs
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
b654dc0c8b
|
Clean up some linting warnings.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
7efb020a4b
|
Added tests for configuring rules from config dictionary.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
fa7d4024e3
|
Switched Configurable rule to a failable initializer that takes AnyObject.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
c2d40c1f94
|
Extracted all ParameterizedRule conformance to ConfigurableRule out to protocol extension.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
3387c0d592
|
Extracted isEqualTo to protocol extension.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
9b6f3070a3
|
Wrote ConfigurableRule, made ParameterizedRule's conform, moved configuration into rules themselves.
|
2016-01-11 11:21:49 -08:00 |
|
Scott Hoyt
|
7b2f4bff43
|
Moved == implementation for [Rule] to more appropriate spot. Wrote missing test.
|
2016-01-02 15:41:53 -08:00 |
|
Scott Hoyt
|
fcf9396a08
|
Added isEqual for Rule and ParameterizedRule. Made Configuration and RuleParameter conform to Equatable. Wrote tests to verify. All done in support of testing recursive configuration file search.
|
2016-01-02 15:41:53 -08:00 |
|
JP Simard
|
5be62adfd4
|
report corrections
|
2015-12-05 21:09:43 -08:00 |
|
JP Simard
|
a01ebc5167
|
introduce CorrectableRule protocol and Linter.correct()
|
2015-12-05 21:09:43 -08:00 |
|
JP Simard
|
96a4e6cc2f
|
remove init() from Rule.
|
2015-11-29 21:43:53 -08:00 |
|
JP Simard
|
8a30cb2e3d
|
organize Xcode project
make Extensions, Models & Protocols groups under SourceKittenFramework
|
2015-11-15 15:07:25 -08:00 |
|