Commit Graph

23 Commits

Author SHA1 Message Date
Marcelo Fabri e5600cf587 Fixing #1897 2018-05-10 23:25:03 -07:00
Eric Horacek f18571effc Fix operator usage spacing nested generics false positive
This was being corrected to:
```
let model = Generic<Container<Button>, NSAttributedString > (
```
2018-05-10 16:09:15 -07:00
JP Simard b83e0991b9 Remove all file headers
The MIT license doesn't require that all files be prepended with this
licensing or copyright information. Realm confirmed that they're ok with this
change. This will enable some companies to contribute to SwiftLint and the
date & authorship information will remain accessible via git source control.
2018-05-04 13:42:02 -07:00
Norio Nomura 2a0ac455bc 'flatMap' is deprecated: renamed to 'compactMap(_:)' 2018-04-08 13:28:09 +09:00
Marcelo Fabri 0be8c855d2 Move functions to properties and Sets instead of Arrays 2017-10-04 14:34:00 -07:00
Marcelo Fabri 05d43ce241 Fix test that crashed SourceKit with Swift 3.2 2017-07-22 23:58:51 +02:00
Marcelo Fabri e86763739f Move kind to RuleDescription 2017-07-02 15:50:16 +02:00
Marcelo Fabri 5012211d3d Add RuleKind 2017-07-02 15:50:16 +02:00
Marcelo Fabri 7ac64e059d Fix tests 2017-07-02 15:08:47 +02:00
Marcelo Fabri d8f5a316f2 release 0.20.1 2017-07-01 20:19:33 +02:00
Marcelo Fabri 32e38c96cf Add kinds(inByteRange:) 2017-05-25 04:55:47 +02:00
Marcelo Fabri a761608403 Fix false positive on operator_usage_whitespace
Fixes #1153
2017-01-11 19:41:17 -02:00
JP Simard 7522635ad8 update SwiftLintFramework/Rules to follow Swift 3 API Design Guidelines 2017-01-09 19:37:53 -08:00
JP Simard 9e7cdc3282 update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines 2017-01-09 19:19:25 -08:00
JP Simard a291bb594a update SwiftLintFramework/Extensions to follow Swift 3 API Design Guidelines 2017-01-09 17:53:07 -08:00
Marcelo Fabri 50535e7e5c Refactor regex functions to accept options
Fixes #1127
2017-01-06 21:04:15 -02:00
Marcelo Fabri 37771fd156 Fix false positive in operator_usage_whitespace
Fixes #1028
2016-12-22 12:23:33 -02:00
Marcelo Fabri 841867aa24 Make operator_usage_whitespace correctable 2016-12-20 01:29:35 -02:00
Marcelo Fabri 7557daf367 Fixing false positives in operator_usage_whitespace
Fixes #989
2016-12-16 00:19:12 -02:00
Marcelo Fabri 14a402961b date format 2016-12-15 10:37:03 -02:00
Marcelo Fabri ebf3002e55 Make it fast 🚀 2016-12-15 10:37:03 -02:00
Marcelo Fabri b4c25c05a0 Make rule faster by using non-capture groups 2016-12-15 10:37:03 -02:00
Marcelo Fabri 73c7d9a054 Add operator_usage_whitespace
Fixes #626
2016-12-15 10:37:03 -02:00