Commit Graph

18 Commits

Author SHA1 Message Date
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 556ad4eed3 Use non-capture grup 2017-07-29 21:44:31 +02:00
Liquidsoul f037eabda1 Fix false positive in large_tuple rule when using throwing closure 2017-07-29 18:32:04 +02:00
Marcelo Fabri 0bf1179c83 Validating trailing closure even if there's only one param 2017-07-24 00:50:31 +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
Jeffrey 3812ef3612 change parameter.value to configuration.warning 2017-04-25 13:46:44 -07:00
Marcelo Fabri 4037b932f6 Fix false positive on large_tuple when using generics inside a tuple
Fixes #1257
2017-02-03 21:43:34 -02:00
Marcelo Fabri 8ac666400d Fix a false positive on large_tuple rule
Fixes #1234
2017-01-23 21:37:22 -02:00
JP Simard 29cdc86185 add some convenience members to SourceKit dictionaries 2017-01-22 11:00:57 -08: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
Marcelo Fabri 6e97d760bc PR feedback 2017-01-04 21:30:59 -02:00
Marcelo Fabri 6fc77e0b9b Ignore closure declarations 2017-01-04 18:21:33 -02:00
Marcelo Fabri 0e65f89620 Alternative implemention that works on Linux 2017-01-04 18:21:33 -02:00
Marcelo Fabri c5db646115 Add large_tuple rule
Fixes #1065
2017-01-04 18:21:33 -02:00