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 |
|
JP Simard
|
89526264db
|
improve RegexConfiguration
|
2016-12-11 16:49:28 -08:00 |
|
JP Simard
|
54acf03983
|
use NSRegularExpression with a placeholder pattern to compile on Linux
since `NSRegularExpression.init()` isn't available on Linux yet.
|
2016-12-11 14:04:49 -08:00 |
|
JP Simard
|
0faf567931
|
use bridge() rather than explict or implicit casts
this is a step in aligning the code to compile on both Darwin and
Linux
|
2016-12-11 13:47:44 -08:00 |
|
JP Simard
|
a57526d639
|
omit 'self.' references when not ambiguous
|
2016-12-08 01:25:54 -08:00 |
|
Norio Nomura
|
8bf15f1dba
|
Migrate to Swift 3.0
|
2016-10-09 01:09:50 +09:00 |
|
JP Simard
|
b0e4842910
|
fix long line I just added
|
2016-08-21 14:38:53 -07:00 |
|
JP Simard
|
d433d5b197
|
small stylistic tweaks following #743
|
2016-08-21 14:31:05 -07:00 |
|
J Cheyo Jimenez
|
4509495f9e
|
Allowing disabling custom rules in code
closes https://github.com/realm/SwiftLint/issues/515
|
2016-08-08 15:16:52 -07:00 |
|
J Cheyo Jimenez
|
5acae661a2
|
Fixes custom rule regex
closes https://github.com/realm/SwiftLint/issues/717
closes https://github.com/realm/SwiftLint/issues/726
|
2016-08-06 15:59:45 -07:00 |
|
bootstraponline
|
0d78cdb0c2
|
Add included to custom rules
|
2016-06-23 10:21:45 -04:00 |
|
JP Simard
|
4ffb9358d0
|
rename CustomRulesConfig to CustomRulesConfiguration
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
144495306b
|
rename rule configurations to expand "Config" to "Configuration"
|
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
|
3f4b993847
|
rename ConfigProviderRule to ConfigurationProviderRule
|
2016-02-12 10:53:36 -08:00 |
|
JP Simard
|
71135c6a4b
|
make RulesCommand show a configuration description for all rules
|
2016-02-07 10:40:51 -08:00 |
|
JP Simard
|
b2a7b707ab
|
print rule configuration
|
2016-02-03 10:31:53 -08:00 |
|
Scott Hoyt
|
3aa5393b3d
|
Fix typo.
|
2016-01-25 10:03:28 -08:00 |
|
Scott Hoyt
|
ccdd81af61
|
Switch guard early exit with if for CustomRules.validateFile.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
b76a3d2ae6
|
Added tests.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
08a7560881
|
Switch RegexConfig.matchTokens to RegexConfig.matchKinds. Properly reset set if key exists.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
c6c088b3bc
|
Fix broken tests by removing SwiftXCP import.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
923b4c4e7e
|
Update RegexConfig to use a Set for matchTokens. Fixed CustomRules.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
fede0ccc2d
|
Added convenience for RegexConfig.severity
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
49bd5ae91f
|
Use flatMap instead.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
db10bff4d2
|
Fleshed out validateFile for CustomRules.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
f2cab3e296
|
Added CustomRulesConfig.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
a266901216
|
Fixed typo.
|
2016-01-25 07:26:31 -08:00 |
|
Scott Hoyt
|
8cc5ba4f32
|
Stub out CustomRules.
|
2016-01-25 07:26:31 -08:00 |
|