Commit Graph

9 Commits

Author SHA1 Message Date
Keith Smiley 05344f5fed
Fix DuplicateImportsRule's support for import attributes (#3402)
* Fix DuplicateImportsRule's support for import attributes

* update changelog

* Fix changelog
2020-11-05 10:45:01 -08:00
Marcelo Fabri f8ef7d649c Enable legacy_multiple and prefer_self_type_over_type_of_self in our codebase 2020-08-05 01:11:17 -07:00
Yusuke Goto 7da113e932 Fix severity level configuration for duplicate_imports 2020-05-12 17:27:33 +09:00
Paul Taykalo 057bcb8921
Fixes #3066 Crash on missing (#3067) 2020-02-02 23:30:40 +02:00
JP Simard fe5baca7cd
Migrate to use SourceKitten's new ByteCount/ByteRange types (#3037)
New APIs were introduced in SourceKitten to allow for a more typesafe distinction between integers meaning NSString-based distances and byte-based distances.

* https://github.com/jpsim/SourceKitten/pull/639
* https://github.com/jpsim/SourceKitten/pull/642

This PR migrates SwiftLint's use of those APIs.
2020-01-16 15:18:37 -08:00
JP Simard 40ade98710
Update SourceKitten to 0.28.0 (#3011) 2020-01-03 16:47:18 -08:00
Paul Taykalo 73802c285d Add own wrappers over syntax tokens and syntax map 2019-11-10 22:55:54 +02:00
Paul Taykalo ac40778cb3 Use SwiftLintFile wrapper over the File 2019-11-07 15:19:17 +02:00
Samuel Susla 90232d542e Add `DuplicateImportsRule` (#2004) 2019-01-17 15:42:29 -08:00