JP Simard
|
7d85fe3261
|
converted Command/Region to structs and made Location Comparable
|
2015-08-29 21:45:55 -07:00 |
|
JP Simard
|
61d46c6c29
|
add tests for disabling rules via source code comments
|
2015-08-29 20:39:39 -07:00 |
|
JP Simard
|
fbc253a2ab
|
use single space in SwiftLint comment commands & fix issue with testTodoOrFIXME
|
2015-08-29 17:51:34 -07:00 |
|
JP Simard
|
71d9d57c80
|
'.+' not '.*' to match rule identifier
|
2015-08-29 17:39:21 -07:00 |
|
JP Simard
|
c10830e959
|
only match swiftlint commands in comments and match any rule identifier (oops)
|
2015-08-29 17:38:04 -07:00 |
|
JP Simard
|
c699d3d2fa
|
Disable/re-enable rules from within source code comments. Fixes #4.
|
2015-08-29 17:09:28 -07:00 |
|
JP Simard
|
e95625ee79
|
update for swift 2
|
2015-08-27 14:20:51 -07:00 |
|
JP Simard
|
e7b7bf349a
|
fix style violation (failing test)
|
2015-08-23 22:17:02 -07:00 |
|
JP Simard
|
90dfe362a2
|
[OperatorFunctionWhitespaceRule] refactored rule. Fixes #60.
|
2015-06-17 10:37:52 -07:00 |
|
JP Simard
|
30ef86b144
|
[ControlStatementRule] Fixed a few false positives
|
2015-05-28 14:49:25 -07:00 |
|
Nikolaj Schumacher
|
d8e0047ed2
|
Add caching of Structure and SyntaxMap.
There is no need to read them individually for every rule.
This cuts execution time by more than 50%.
|
2015-05-26 17:24:08 +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 |
|