Commit Graph

5 Commits

Author SHA1 Message Date
Keith Smiley 65f6715915 Improve trailing newline performance
This sidesteps the previous method of reversing the entire string from
every file by only checking the minimum number of trailing characters
for each file.
2015-08-14 20:30:40 -07:00
JP Simard 90dfe362a2 [OperatorFunctionWhitespaceRule] refactored rule. Fixes #60. 2015-06-17 10:37:52 -07:00
akirahrkw fe4ef11939 change for ReturnArrowWhitespaceRule
1: uses default showExamples value (true)
2: uses default commentDoesntViolate value (true)
2015-06-04 01:47:58 +08:00
akirahrkw 87c7c5cd5d add ReturnArrowWhitespaceRule
This rule checks whether you have 1 space before return arrow and return type

Good: func abc() -> Int {}
Bad:  func abc()->Int {}
2015-06-03 16:26:21 +08:00
JP Simard f8ea553a0e [Tests] Split LinterTests into 3 files 2015-05-28 16:49:30 -07:00