diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/missing_docs.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/missing_docs.html index 89fdb5d4a..68f5f5ed5 100644 --- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/missing_docs.html +++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/missing_docs.html @@ -394,6 +394,14 @@ excludes_trivial_init false +
/// docs
public class A {
+ var j = 1
+ var i: Int { 1 }
+ func f() {}
deinit {}
}
public extension A {}
+enum E {
+ case A
+}
+
/// docs
public class A {
public init() {}
}
+class C {
+ public func f() {}
+}
+
+public struct S: ~Copyable, P {
+ public init() {}
+}
+
public func a() {}
+public ↓func a() {}
// regular comment
-public func a() {}
+public ↓func a() {}
/* regular comment */
-public func a() {}
+public ↓func a() {}
/// docs
public protocol A {
-// no docs
-var b: Int { get } }
+ // no docs
+ ↓var b: Int { get }
+}
/// docs
public struct C: A {
-
-public let b: Int
+ public let b: Int
+}
+
+/// a doc
+public class C {
+ public ↓static let i = 1
+}
+
+public extension A {
+ public ↓func f() {}
+ ↓static var i: Int { 1 }
+ ↓struct S {
+ func f() {}
+ }
+ ↓class C {
+ func f() {}
+ }
+ ↓actor A {
+ func f() {}
+ }
+ ↓enum E {
+ case ↓a
+ func f() {}
+ }
+}
+
+public extension A {
+ ↓enum E {
+ enum Inner {
+ case a
+ }
+ }
+}
+
+extension E {
+ public ↓struct S {
+ public ↓static let i = 1
+ }
+}
+
+extension E {
+ public ↓func f() {}
}
/// docs
public class A {
- public init(argument: String) {}
+ public ↓init(argument: String) {}
+}
+
+public ↓struct C: A {
+ public ↓let b: Int
+}
+
+public ↓extension A {
+ public ↓func f() {}
+}
+
+public extension E {
+ ↓var i: Int {
+ let j = 1
+ func f() {}
+ return j
+ }
+}
+
+#if os(macOS)
+public ↓func f() {}
+#endif
+
+public ↓enum E {
+ case ↓A
+ func f() {}
+ init(_ i: Int) { self = .A }
+}
+
+/// a doc
+public struct S {}
+public extension S {
+ ↓enum E {
+ case ↓A
+ }
+}
+
+class C {
+ public ↓func f() {}
+}
+
+public ↓struct S: ~Copyable, ~Escapable {
+ public ↓init() {}
}
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/swift-syntax-dashboard.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/swift-syntax-dashboard.html
index 6e47bb00c..0c5584c1d 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/swift-syntax-dashboard.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/swift-syntax-dashboard.html
@@ -352,7 +352,7 @@
Rules written using SwiftSyntax tend to be significantly faster and have fewer false positives
than rules that use SourceKit to get source structure information.
-24 out of 234 (10%)
+
23 out of 234 (9%)
of SwiftLint’s linter rules use SourceKit.
Rules Using SourceKit
Default Rules (6)
@@ -365,7 +365,7 @@ of SwiftLint’s linter rules use SourceKit.
trailing_whitespace: Trailing Whitespace
vertical_whitespace: Vertical Whitespace
-Opt-in Rules (18)
+Opt-in Rules (17)
accessibility_label_for_image: Accessibility Label for Image
@@ -376,7 +376,6 @@ of SwiftLint’s linter rules use SourceKit.
file_types_order: File Types Order
indentation_width: Indentation Width
literal_expression_end_indentation: Literal Expression End Indentation
-missing_docs: Missing Docs
modifier_order: Modifier Order
multiline_function_chains: Multiline Function Chains
multiline_parameters_brackets: Multiline Parameters Brackets
@@ -483,7 +482,7 @@ of SwiftLint’s linter rules use SourceKit.
void_return: Void Return
xctfail_message: XCTFail Message
-Opt-in Rules (119)
+Opt-in Rules (120)
anonymous_argument_in_multiline_closure: Anonymous Argument in Multiline Closure
@@ -540,6 +539,7 @@ of SwiftLint’s linter rules use SourceKit.
let_var_whitespace: Variable Declaration Whitespace
local_doc_comment: Local Doc Comment
lower_acl_than_parent: Lower ACL than Parent
+missing_docs: Missing Docs
multiline_arguments: Multiline Arguments
multiline_arguments_brackets: Multiline Arguments Brackets
multiline_literal_brackets: Multiline Literal Brackets
diff --git a/docsets/SwiftLintCore.tgz b/docsets/SwiftLintCore.tgz
index b1282f8da..88029d414 100644
Binary files a/docsets/SwiftLintCore.tgz and b/docsets/SwiftLintCore.tgz differ
diff --git a/missing_docs.html b/missing_docs.html
index 89fdb5d4a..68f5f5ed5 100644
--- a/missing_docs.html
+++ b/missing_docs.html
@@ -394,6 +394,14 @@ excludes_trivial_init
false
+
+
+evaluate_effective_access_control_level
+
+
+false
+
+
@@ -414,38 +422,136 @@ false
/// docs
public class A {
+ var j = 1
+ var i: Int { 1 }
+ func f() {}
deinit {}
}
public extension A {}
+enum E {
+ case A
+}
+
/// docs
public class A {
public init() {}
}
+class C {
+ public func f() {}
+}
+
+public struct S: ~Copyable, P {
+ public init() {}
+}
+
public func a() {}
+public ↓func a() {}
// regular comment
-public func a() {}
+public ↓func a() {}
/* regular comment */
-public func a() {}
+public ↓func a() {}
/// docs
public protocol A {
-// no docs
-var b: Int { get } }
+ // no docs
+ ↓var b: Int { get }
+}
/// docs
public struct C: A {
-
-public let b: Int
+ public let b: Int
+}
+
+/// a doc
+public class C {
+ public ↓static let i = 1
+}
+
+public extension A {
+ public ↓func f() {}
+ ↓static var i: Int { 1 }
+ ↓struct S {
+ func f() {}
+ }
+ ↓class C {
+ func f() {}
+ }
+ ↓actor A {
+ func f() {}
+ }
+ ↓enum E {
+ case ↓a
+ func f() {}
+ }
+}
+
+public extension A {
+ ↓enum E {
+ enum Inner {
+ case a
+ }
+ }
+}
+
+extension E {
+ public ↓struct S {
+ public ↓static let i = 1
+ }
+}
+
+extension E {
+ public ↓func f() {}
}
/// docs
public class A {
- public init(argument: String) {}
+ public ↓init(argument: String) {}
+}
+
+public ↓struct C: A {
+ public ↓let b: Int
+}
+
+public ↓extension A {
+ public ↓func f() {}
+}
+
+public extension E {
+ ↓var i: Int {
+ let j = 1
+ func f() {}
+ return j
+ }
+}
+
+#if os(macOS)
+public ↓func f() {}
+#endif
+
+public ↓enum E {
+ case ↓A
+ func f() {}
+ init(_ i: Int) { self = .A }
+}
+
+/// a doc
+public struct S {}
+public extension S {
+ ↓enum E {
+ case ↓A
+ }
+}
+
+class C {
+ public ↓func f() {}
+}
+
+public ↓struct S: ~Copyable, ~Escapable {
+ public ↓init() {}
}
diff --git a/swift-syntax-dashboard.html b/swift-syntax-dashboard.html
index 6e47bb00c..0c5584c1d 100644
--- a/swift-syntax-dashboard.html
+++ b/swift-syntax-dashboard.html
@@ -352,7 +352,7 @@
Rules written using SwiftSyntax tend to be significantly faster and have fewer false positives
than rules that use SourceKit to get source structure information.
-24 out of 234 (10%)
+
23 out of 234 (9%)
of SwiftLint’s linter rules use SourceKit.
Rules Using SourceKit
Default Rules (6)
@@ -365,7 +365,7 @@ of SwiftLint’s linter rules use SourceKit.
trailing_whitespace: Trailing Whitespace
vertical_whitespace: Vertical Whitespace
-Opt-in Rules (18)
+Opt-in Rules (17)
accessibility_label_for_image: Accessibility Label for Image
@@ -376,7 +376,6 @@ of SwiftLint’s linter rules use SourceKit.
file_types_order: File Types Order
indentation_width: Indentation Width
literal_expression_end_indentation: Literal Expression End Indentation
-missing_docs: Missing Docs
modifier_order: Modifier Order
multiline_function_chains: Multiline Function Chains
multiline_parameters_brackets: Multiline Parameters Brackets
@@ -483,7 +482,7 @@ of SwiftLint’s linter rules use SourceKit.
void_return: Void Return
xctfail_message: XCTFail Message
-Opt-in Rules (119)
+Opt-in Rules (120)
anonymous_argument_in_multiline_closure: Anonymous Argument in Multiline Closure
@@ -540,6 +539,7 @@ of SwiftLint’s linter rules use SourceKit.
let_var_whitespace: Variable Declaration Whitespace
local_doc_comment: Local Doc Comment
lower_acl_than_parent: Lower ACL than Parent
+missing_docs: Missing Docs
multiline_arguments: Multiline Arguments
multiline_arguments_brackets: Multiline Arguments Brackets
multiline_literal_brackets: Multiline Literal Brackets