Commit Graph

10 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
Marcelo Fabri c1da2bd194 Fix false positives in for_where with pattern matching
Fixes #1968
2017-12-20 11:23:05 -08:00
Marcelo Fabri 0be8c855d2 Move functions to properties and Sets instead of Arrays 2017-10-04 14:34:00 -07:00
Marcelo Fabri b5f51bb761 Fix false positive in for_where with if var
Fixes #1838
2017-09-14 11:10:28 -03:00
Marcelo Fabri ef4dde90b7 Improve colon rule to catch dictionary types and Any
Fixes #1074
2017-09-11 03:09:53 -03:00
Marcelo Fabri e86763739f Move kind to RuleDescription 2017-07-02 15:50:16 +02:00
JP Simard acc7808b04 use kinds(inByteRange:) in more places
CommaRule, ExplicitTopLevelACLRule, ForceUnwrappingRule, ForWhereRule
2017-05-25 11:18:00 -07:00
Marcelo Fabri 802a7ddeca Improve for_where rule
Fixes #1387
2017-03-25 01:06:45 +01:00
Marcelo Fabri f90b25e2e1 Refactor elements to not be optional 2017-02-09 17:59:31 -08:00
Marcelo Fabri f0c8fba3b6 Add for_where rule
Fixes #1228
2017-02-09 13:43:58 -08:00