JP Simard
|
b2d954f655
|
rename ConfigType to ConfigurationType
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
7e07e813ca
|
rename RuleConfig to RuleConfiguration
|
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
|
d9cd1d670a
|
rename Rule.init(config:) to Rule.init(configuration:)
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
db71448c47
|
rename Rule.configDescription to Rule.configurationDescription
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
3f4b993847
|
rename ConfigProviderRule to ConfigurationProviderRule
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
1866edae77
|
adjust access control levels for many APIs in SwiftLintFramework
this is done in an effort to stabilize the API for SwiftLint 1.0.
|
2016-02-10 17:26:06 -08:00 |
|
JP Simard
|
368ee9544a
|
fold ConfigurableRule into Rule
|
2016-02-08 13:08:51 -08:00 |
|
JP Simard
|
71135c6a4b
|
make RulesCommand show a configuration description for all rules
|
2016-02-07 10:40:51 -08:00 |
|
JP Simard
|
c4ed26c05c
|
allow passing an optional --reporter parameter to swiftlint lint
|
2016-02-06 11:14:23 -08:00 |
|
JP Simard
|
b2a7b707ab
|
print rule configuration
|
2016-02-03 10:31:53 -08:00 |
|
Scott Hoyt
|
6132d5d282
|
Provide default implementation for RuleConfig.isEqualTo when it is Equatable.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
943ed306a3
|
Modified names for brevity.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
3230c6413e
|
Replaced things in rule configurations named configuration for config to save space.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
05a65afc72
|
Removed ViolationLeveLRule in favor of ConfigurationProviderRule.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
0b61c63937
|
Extracted Rule Configuration structs to own files.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
0883f56424
|
Rename Rule Configuration structures.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
6d385736c9
|
Delete unused ViolationLevelConfiguration protocol.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
d2ec3fb621
|
Added associated type for ConfigurationProviderRule.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
619a3450c2
|
Fix spacing.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
1a2bb1be79
|
Add MinMaxConfiguration.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
ccbcb537b5
|
Convert ConfigurableRule to throwing init instead of failing.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
21abbd345f
|
Added ViolationLevelConfiguration.
|
2016-01-23 17:42:13 -08:00 |
|
Scott Hoyt
|
d300eec7cf
|
Added ConfigurationProviderRule
|
2016-01-23 17:42:13 -08:00 |
|
JP Simard
|
ace0999154
|
update SourceKitten to 0.8.0
|
2016-01-22 19:19:15 -08:00 |
|
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 |
|