Matthew Remmel
89adc4224c
Patch created from Nef10 ( https://github.com/Nef10/SwiftLint.git ) missing_docs branch, to remove merge commits that were preventing merging the PR ( https://github.com/realm/SwiftLint/pull/2172 )
2018-07-25 11:34:53 -04:00
Marcelo Fabri
12305a8227
Fix closure-related rules when using Swift 4.2
2018-06-24 11:18:31 -07:00
Marcelo Fabri
f2297d7387
Fix false positives in prohibited_super_call rule
...
Fixes #2212
2018-05-21 20:50:34 -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
Marcelo Fabri
e2b195a4e2
Use SwiftDeclarationAttributeKind instead of string constants
2018-04-24 22:23:36 -07:00
Marcelo Fabri
1a9a4f7516
Add redundant_set_access_control rule
...
Fixes #1869
2018-04-08 21:54:50 -07:00
Norio Nomura
2a0ac455bc
'flatMap' is deprecated: renamed to 'compactMap(_:)'
2018-04-08 13:28:09 +09:00
Marcelo Fabri
19edf2608b
Fix enclosedSwiftAttributes in Swift 4.1
...
Fixes #2019
2018-01-25 09:47:11 -08:00
JP Simard
201a74ef0b
recursively call extractCallsToSuper(methodName:)
2017-05-23 10:26:13 -07:00
Marcelo Fabri
d73ee8d3d9
Remove Swift 2 support
...
Also removes `missing_docs` and `valid_docs` rules.
Fixes #1453 .
2017-04-23 13:43:41 +02:00
Marcelo Fabri
f90b25e2e1
Refactor elements to not be optional
2017-02-09 17:59:31 -08:00
JP Simard
a01cb69a83
disable docs rules in Swift 2.3 and later
2017-02-03 14:42:11 -08:00
JP Simard
29cdc86185
add some convenience members to SourceKit dictionaries
2017-01-22 11:00:57 -08:00
JP Simard
9a0bd3afc2
move extractCallsToSuper to Dictionary extension
2017-01-09 20:24:46 -08:00
Marcelo Fabri
8c1532691d
Make object_literal rule work with Swift 2.3
2016-12-30 17:57:30 -02:00
Marcelo Fabri
7056434992
Add object_literal rule
...
Fixes #1060
2016-12-30 17:57:30 -02:00
Marcelo Fabri
aea1fd3538
Fix false positives on closure rules with Swift 2.3
...
Fixes #1019
2016-12-29 18:18:06 -02:00
JP Simard
8ce031ff5f
add substructure member to Dictionary+SwiftLint.swift
2016-12-23 12:35:01 -08:00
Marcelo Fabri
47c6ae5c2f
Check if protocol inherits from another Delegate
2016-12-23 16:34:03 -02:00
Marcelo Fabri
e854701fb2
Refactoring shared code
2016-12-15 19:57:49 -02:00
Daniel Duan
00bfe3c77e
abstract attribute retrieval from SourceKit
...
Extracting attribute values enclosed in SourcKit dictionary is common enough to
warrant a utility function.
2016-12-11 01:51:33 -08:00