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
|
ee5555f8a6
|
Whitespace rule examples
|
2015-05-25 14:45:28 -07:00 |
|
Chris Eidhof
|
7cdcc24f70
|
Added the TodoRule
|
2015-05-25 14:45:28 -07:00 |
|
Chris Eidhof
|
5d4fdc4a84
|
Explain command showing the rules
|
2015-05-25 14:45:28 -07:00 |
|
Chris Eidhof
|
ee4aadbcf9
|
Move examples into the code
|
2015-05-25 14:45:28 -07:00 |
|
Patrick A Wallace
|
7e61ce5df6
|
Removed reference to self to fit with Github code style.
|
2015-05-23 19:04:23 +01:00 |
|
Patrick A Wallace
|
723adf2bd0
|
Changed to return an error status code if serious violations found, for Xcode compatibility.
|
2015-05-23 00:15:27 +01:00 |
|
JP Simard
|
e2df0546d3
|
Split Rule into Rule and ParameterizedRule protocols (fixes #21)
|
2015-05-20 18:27:16 +02:00 |
|
JP Simard
|
fc625656ae
|
[ASTRule] Made several rules conform to ASTRule
|
2015-05-19 15:36:07 +02:00 |
|
Aaron Daub
|
aac1a3282f
|
When calling .validateFile make sure to call it on an instance of Rule
|
2015-05-19 07:53:32 +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
|
43032d86c2
|
Only report the highest severity violation for function and type body rules
|
2015-05-18 06:47:12 +02:00 |
|
JP Simard
|
79ad26ece0
|
shorter lines
|
2015-05-18 06:29:32 +02:00 |
|
JP Simard
|
1bbeb35473
|
moved all style violation calls to Linter
|
2015-05-18 06:24:56 +02:00 |
|
JP Simard
|
1678bd00cf
|
NestingRule
|
2015-05-18 06:17:05 +02:00 |
|
JP Simard
|
8753bece31
|
VariableNameRule
|
2015-05-18 06:06:49 +02:00 |
|
JP Simard
|
4f4afbef32
|
TypeNameRule
|
2015-05-18 06:03:03 +02:00 |
|
JP Simard
|
e4c05d592a
|
FunctionBodyLengthRule
|
2015-05-18 05:58:57 +02:00 |
|
JP Simard
|
0af4e05cc7
|
Created ASTRule protocol and TypeBodyLengthRule
|
2015-05-18 05:55:03 +02:00 |
|
JP Simard
|
1176bdaeba
|
minor tweaks
|
2015-05-18 05:32:04 +02:00 |
|
JP Simard
|
9c81e13aec
|
FileLengthRule
|
2015-05-18 05:29:04 +02:00 |
|
JP Simard
|
6a984ee22e
|
TrailingNewlineRule
|
2015-05-18 05:23:16 +02:00 |
|
JP Simard
|
9d497a41f5
|
TrailingWhitespaceRule
|
2015-05-18 05:21:29 +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 |
|
JP Simard
|
744fafc4b2
|
ForceCastRule
|
2015-05-18 05:14:19 +02:00 |
|
JP Simard
|
55766c91d1
|
LeadingWhitespaceRule
|
2015-05-18 05:12:23 +02:00 |
|
JP Simard
|
2dbd06d5aa
|
generalized rules and split off LineLengthRule
|
2015-05-18 05:08:04 +02:00 |
|
JP Simard
|
df46421f95
|
split Linter.swift into individual files
|
2015-05-18 04:33:25 +02:00 |
|
JP Simard
|
d5914edbab
|
Added nesting violations
|
2015-05-18 02:34:54 +02:00 |
|
JP Simard
|
a4cdc2aad7
|
added colon violations
|
2015-05-17 12:53:31 +02:00 |
|
JP Simard
|
3efbfadce5
|
Added TODO and FIXME violations
|
2015-05-17 12:17:55 +02:00 |
|
JP Simard
|
83a291841d
|
generalized matchPattern(_:withSyntaxKinds:)
|
2015-05-17 12:06:44 +02:00 |
|
JP Simard
|
135fb4cf13
|
added function body length violation
|
2015-05-17 11:35:07 +02:00 |
|
JP Simard
|
7bbfa99e07
|
added type body length violation
|
2015-05-17 11:26:38 +02:00 |
|
JP Simard
|
036087ada3
|
added variable name validation
|
2015-05-17 11:02:08 +02:00 |
|
JP Simard
|
767add47e8
|
First commit
|
2015-05-16 18:58:10 +02:00 |
|