Commit Graph

16 Commits

Author SHA1 Message Date
JP Simard e13907ead3 fix infinite regex search & 'where' false positive in ConditionalBindingCascadeRule 2016-01-12 18:35:31 -08:00
JP Simard d60a85aae0 make commands with modifiers work for violations with line-only locations 2016-01-04 13:25:57 -08:00
JP Simard 65f992d8fe Support command comment modifiers
addresses #222
2015-12-27 21:06:12 -05:00
JP Simard 8d529f1804 Fix multibyte handling in many rules 2015-12-24 20:59:15 -05:00
Yasuhiro Inami ff3dd5bea2 Minor update for File+SwiftLint.swift 2015-12-19 13:40:39 +09:00
Yasuhiro Inami d5908b04fb Add File.ruleEnabledViolatingRanges() 2015-12-19 13:19:02 +09:00
Norio Nomura b8ddf80b7f Apply reviews 2015-12-14 09:02:53 +09:00
Norio Nomura 8f802996bd Optimize File.matchPattern(_:) -> [(NSRange, [SyntaxKind])]
Change from converting match's position to converting token's position.
By applying this, duration of linting KeychainAccess is reduced from 752+sec(I can't wait completion) to 27sec.
2015-12-13 21:04:44 +09:00
JP Simard 4c771eb355 add File.append(_:) and File.write(_:) 2015-12-05 21:09:43 -08:00
JP Simard 008f85f3ac Fix issues with multi-byte characters. Fixes #234. 2015-12-03 14:49:44 -08:00
JP Simard 9cc9e64374 add Valid Docs rule 2015-11-29 21:58:16 -08:00
JP Simard 73896ee04c add force try rule 2015-11-17 16:51:37 -08:00
JP Simard ecb2a8bee5 refactor variable name rules 2015-11-17 16:13:06 -08:00
JP Simard c31f33b49e check isEmpty rather than test count against zero 2015-11-17 13:17:24 -08:00
JP Simard d269bde1fa allow trailing semicolons in comments 2015-11-17 11:41:02 -08:00
JP Simard 8a30cb2e3d organize Xcode project
make Extensions, Models & Protocols groups under SourceKittenFramework
2015-11-15 15:07:25 -08:00