Skoti
b9841595a5
Separated nesting level counting for types and functions in `nesting` rule ( fixes #1151 ). Enhanced `nesting` rule to search for nested types and functions within closures and statements. Enhanced `nesting` rule to allow for one nested type within a function even if breaking a maximum type level nesting ( fixes #1151 ).
2020-11-09 12:06:34 -05:00
JP Simard
18ad2473d0
Remove unnecessary backticks ( #2601 )
...
These were once required but now that we only support Swift 4.2 or later, they're unnecessary.
2019-01-27 20:19:49 -08:00
JP Simard
0e862ca9c4
Enable vertical whitespace rules in SwiftLint
...
and fix violations
2018-12-02 14:01:23 -08: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
4c8df19c84
Use SourceKit to validate `associatedtype` and `typealias` in `type_name` rule when linting with Swift 4.1
...
Part of #2021
2018-01-26 22:08:59 -08:00
Marcelo Fabri
0be8c855d2
Move functions to properties and Sets instead of Arrays
2017-10-04 14:34:00 -07:00
Marcelo Fabri
2ddf7757d7
Merge branch 'master' into attributes-rule
2016-12-09 14:50:48 -02:00
Marcelo Fabri
13b0cfe623
Fixing inconsistencies
2016-12-08 18:29:57 -02:00
Marcelo Fabri
1d42d29714
Merge branch 'master' into attributes-rule
2016-12-04 18:36:06 -02:00
Marcelo Fabri
0c018a15c7
Swift 3 migration
2016-12-04 18:19:44 -02:00
Marcelo Fabri
af15654ddc
Moving functionKinds and typeKinds to extension
2016-11-30 11:51:25 -02:00
Norio Nomura
3ff76e7ce8
Update SourceKitten
2016-11-04 20:24:21 +09:00
JP Simard
12c510c605
don't parse class declarations in rebuildAllDeclarationsByType
...
because this is only used in the missing docs rule which handles class
declarations by checking the "override" keyword
2016-01-13 16:44:14 -08:00
JP Simard
a5eb7c64fb
[MissingDocsRule] skip inherited members when checking for missing docs
2016-01-13 16:41:08 -08:00
JP Simard
ecb2a8bee5
refactor variable name rules
2015-11-17 16:13:06 -08:00