Commit Graph

10 Commits

Author SHA1 Message Date
Keith Smiley 1b2373c40c Remove unused count of trailing string extension
This method isn't very performant because it reverses the entire string
for comparison.
2015-09-03 13:41:58 -07:00
Keith Smiley 7a6028f1dd Optimize trailing whitespace rule
This updates the rule to no longer reverse each line in each file.
Instead the last character in each line is individually checked for
whitespace.
2015-09-03 13:41:58 -07:00
Keith Smiley d12f9cc271 Move to SourceKitten's File lines
The new lines property on File is a cached version of the same lines.
This means we don't have to compute these multiple times during linting.
2015-09-03 11:50:50 -07:00
JP Simard 26627fa1b2 [TypeNameRule][VariableNameRule] allow private names to start with an underscore 2015-08-28 14:22:32 -07:00
JP Simard 19cc87a404 Configure SwiftLint via a YAML file. Fixes #1 and #3. 2015-08-27 14:21:17 -07:00
JP Simard e95625ee79 update for swift 2 2015-08-27 14:20:51 -07:00
JP Simard 88c6e777f4 [Location] NSString.lineAndCharacterForByteOffset(_:) now works. Fixes #62. 2015-05-28 16:19:19 -07:00
JP Simard a68a886d3f minor tweaks 2015-05-25 15:23:21 -07:00
Chris Eidhof 7200bf1d2f Rename command, clean up files 2015-05-25 14:46:14 -07:00
JP Simard df46421f95 split Linter.swift into individual files 2015-05-18 04:33:25 +02:00