func f(code: Int) -> Int {switch code {
- case 0: fallthrough
-case 0: return 1
-case 0: return 1
-case 0: return 1
-case 0: return 1
-case 0: return 1
-case 0: return 1
-case 0: return 1
-case 0: return 1
-default: return 1}}
+func f(code: Int) -> Int {
+ switch code {
+ case 0: fallthrough
+ case 0: return 1
+ case 0: return 1
+ case 0: return 1
+ case 0: return 1
+ case 0: return 1
+ case 0: return 1
+ case 0: return 1
+ case 0: return 1
+ default: return 1
+ }
+}
-func f1() {if true {}; if true {}; if true {}; if true {}; if true {}; if true {}
-func f2() {
-if true {}; if true {}; if true {}; if true {}; if true {}
-}}
+func f1() {
+ if true {}; if true {}; if true {}; if true {}; if true {}; if true {}
+ func f2() {
+ if true {}; if true {}; if true {}; if true {}; if true {}
+ }
+}
Triggering Examples
↓func f1() {
- if true {
if true {
- if false {}
+ if true {
+ if false {}
+ }
}
- }
- if false {}
- let i = 0
-
- switch i {
- case 1: break
- case 2: break
- case 3: break
- case 4: break
- default: break
- }
- for _ in 1...5 {
- guard true else {
- return
+ if false {}
+ let i = 0
+ switch i {
+ case 1: break
+ case 2: break
+ case 3: break
+ case 4: break
+ default: break
+ }
+ for _ in 1...5 {
+ guard true else {
+ return
+ }
}
- }
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html
index 5c24e2f1a..5d660bd85 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html
index 5ffd5ea8d..6f212451a 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -323,7 +326,6 @@
let foo = nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
-
func foo() -> Any {
return nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
@@ -336,7 +338,6 @@
var obs: [String: Any?] = []
obs["foo"] = nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
-
var obs: [Any?] = []
obs.append(nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { }))
@@ -363,7 +364,6 @@
@discardableResult func foo() -> Any {
return ↓nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html
index 08d3ed548..5861f7704 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html
index de4d58136..ef2dfc42d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html
index 826089d52..85746a7b6 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html
index dae1fa375..50cb2796c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html
index e6cde2944..97d442de5 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html
index 08d3a1d4d..98522a738 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html
index fd8a64748..f72e55c12 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html
index 0e7e6c73d..b2486275d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html
index f09632937..e30206c7e 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html
index f7f67b5f4..dcd1d87cd 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -320,52 +323,52 @@
Non Triggering Examples
switch foo {
- case .bar: break
+case .bar: break
}
switch foo {
- case .bar(let x): break
+case .bar(let x): break
}
switch foo {
- case let .bar(x): break
+case let .bar(x): break
}
switch (foo, bar) {
- case (_, _): break
+case (_, _): break
}
switch foo {
- case "bar".uppercased(): break
+case "bar".uppercased(): break
}
switch (foo, bar) {
- case (_, _) where !something: break
+case (_, _) where !something: break
}
switch foo {
- case (let f as () -> String)?: break
+case (let f as () -> String)?: break
}
switch foo {
- default: break
+default: break
}
Triggering Examples
switch foo {
- case .bar↓(_): break
+case .bar↓(_): break
}
switch foo {
- case .bar↓(): break
+case .bar↓(): break
}
switch foo {
- case .bar↓(_), .bar2↓(_): break
+case .bar↓(_), .bar2↓(_): break
}
switch foo {
- case .bar↓() where method() > 2: break
+case .bar↓() where method() > 2: break
}
func example(foo: Foo) {
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html
index 6cc7ca508..2aa386c74 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html
index b49a93ff2..2fc1dd896 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html
index c3a564ddd..6ed1f830d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html
index 15e0ce2d3..21d8791c9 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html
index a1ecb4b7a..b3f126e4b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html
index 5ec659f93..4d03f2066 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html
index dfc522ec9..aa0eac174 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html
index 497b2cc4d..739172d69 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html
index cc5879c2a..c7a4fbfd3 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html
index 1cd59b285..844768c34 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html
index 40eac12a2..c059519de 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html
index fb536e420..cba016361 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html
index 9b3a1660e..faa77de80 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html
index 604f5bcd4..7f2d152bb 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html
index 5f7e3e45e..9c06011aa 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html
index c752cee70..1885de421 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html
index 29acda8f6..0983e1142 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html
index 82d6f109b..aa260c9bd 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html
index a139a7298..6f02e12cc 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html
index 2ed2add54..c3f2c53bd 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html
index b6d919cd2..84cb63caa 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html
index b827db961..0ff81539c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html
index 1ccb10686..73ff9c86a 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html
index 3ce0672ca..38ef87bbf 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html
index 0bc502d8c..f09b991d3 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html
index b3ade1365..55469a99f 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html
index b3e684aab..b9f5d283b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html
index ad6db6fd4..8df4c6de1 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html
index 270d3cec9..daa1b4e28 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -336,7 +339,7 @@
func f(a: Int, b: Int, c: Int, d: Int, x: Int = 42) {}
func f(a: [Int], b: Int, c: Int, d: Int, f: Int) -> [Int] {
-let s = a.flatMap { $0 as? [String: Int] } ?? []}}
+ let s = a.flatMap { $0 as? [String: Int] } ?? []}}
override func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
@@ -348,8 +351,8 @@
↓func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int = 2, g: Int) {}
struct Foo {
-init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
-↓func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
+ init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
+ ↓func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html
index b47e0cf6b..088d25b58 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html
index 7844c8301..6bb694f33 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html
index 9b3db6def..9f83d2a02 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html
index 5c3c6686b..06634f8d4 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -363,11 +366,9 @@
protocol Foo {
var foo: Int { get }
-
protocol Foo {
var foo: Int { get set }
-
class Foo {
var foo: Int {
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html
index 463284085..a97cf6e07 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -316,7 +319,7 @@
Kind: style
Analyzer rule: No
Minimum Swift compiler version: 3.0.0
-Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
+Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
Non Triggering Examples
if foo {
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html
index d4b06c1a6..60c4b97e6 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html
index 7b97f9929..a5987669b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html
index eb72d2a03..b8c1ed429 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html
index 23d04841b..987efb5e8 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html
index 2839969f1..8ff5c4e1b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html
index ea02f2c69..68a71a473 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html
index ac22ab4ff..cfe6fc041 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html
index 29da01f11..9b4ab82e0 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html
index 0f043e431..ce98ef4d5 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html
index d4116113a..e5ae270b7 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html
index baba52c6c..0c6e76ab6 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html
index f5602a3a6..ca19be29c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html
index 72499466e..b4de44716 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html
index 7543392c5..d3c68eea5 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html
index c07daafd0..89a3c3cee 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html
index 296165c1a..f4895f164 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html
index 535fee16b..f03744739 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html
index 54180bbdb..fb1f0ed2b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html
index e4db98411..de90d08f6 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -333,7 +336,6 @@
[
1,
2]
-
let x = [
1,
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html
index 8ffb73a75..7b98e054a 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html
index 7e2eb0da8..051995eb3 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -386,7 +389,6 @@
struct MarkTest {}
↓// MARK:- Bad mark
extension MarkTest {}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html
index 810a13154..20051f154 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -326,14 +329,12 @@
}
/// docs
public class B: A { override public func b() {} }
-
import Foundation
/// docs
public class B: NSObject {
// no docs
override public var description: String { fatalError() } }
-
/// docs
public class A {
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html
index 5d9555a5d..b82c49382 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -319,198 +322,192 @@
Default configuration: warning, preferred_modifier_order: [override, acl, setterACL, dynamic, mutators, lazy, final, required, convenience, typeMethods, owned]
Non Triggering Examples
-public class Foo {
- public convenience required init() {}
+public class Foo {
+ public convenience required init() {}
}
-public class Foo {
- public static let bar = 42
+public class Foo {
+ public static let bar = 42
}
-public class Foo {
- public static var bar: Int {
- return 42 }}
-
-public class Foo {
- public class var bar: Int {
- return 42
- }
+public class Foo {
+ public static var bar: Int {
+ return
+ }
}
-public class Bar {
- public class var foo: String {
- return "foo"
- }
-}
-public class Foo: Bar {
- override public final class var foo: String {
- return "bar"
- }
+public class Foo {
+ public class var bar: Int {
+ return 42
+ }
}
-open class Bar {
- public var foo: Int? {
- return 42
- }
-}
-open class Foo: Bar {
- override public var foo: Int? {
- return 43
- }
+public class Bar {
+ public class var foo: String {
+ return "foo"
+ }
+}
+public class Foo: Bar {
+ override public final class var foo: String {
+ return "bar"
+ }
}
-open class Bar {
- open class func foo() -> Int {
- return 42
- }
-}
-class Foo: Bar {
- override open class func foo() -> Int {
- return 43
- }
+open class Bar {
+ public var foo: Int? {
+ return 42
+ }
+}
+open class Foo: Bar {
+ override public var foo: Int? {
+ return 43
+ }
}
-protocol Foo: class {}
-class Bar {
- public private(set) weak var foo: Foo?
-}
-
+open class Bar {
+ open class func foo() -> Int {
+ return 42
+ }
+}
+class Foo: Bar {
+ override open class func foo() -> Int {
+ return 43
+ }
+}
-@objc
-public final class Foo: NSObject {}
-
+protocol Foo: class {}
+class Bar {
+ public private(set) weak var foo: Foo?
+}
-@objcMembers
-public final class Foo: NSObject {}
-
+@objc
+public final class Foo: NSObject {}
-@objc
-override public private(set) weak var foo: Bar?
-
+@objcMembers
+public final class Foo: NSObject {}
-@objc
-public final class Foo: NSObject {}
-
+@objc
+override public private(set) weak var foo: Bar?
-@objc
-open final class Foo: NSObject {
- open weak var weakBar: NSString? = nil
+@objc
+public final class Foo: NSObject {}
+
+@objc
+open final class Foo: NSObject {
+ open weak var weakBar: NSString? = nil
}
public final class Foo {}
-class Bar {
- func bar() {}
+class Bar {
+ func bar() {}
}
-internal class Foo: Bar {
- override internal func bar() {}
+internal class Foo: Bar {
+ override internal func bar() {}
}
-public struct Foo {
- internal weak var weakBar: NSObject? = nil
+public struct Foo {
+ internal weak var weakBar: NSObject? = nil
}
-class Foo {
- internal lazy var bar: String = "foo"
+class Foo {
+ internal lazy var bar: String = "foo"
}
Triggering Examples
-class Foo {
- convenience required public init() {}
+class Foo {
+ convenience required public init() {}
}
-public class Foo {
- static public let bar = 42
+public class Foo {
+ static public let bar = 42
}
-public class Foo {
- static public var bar: Int {
- return 42
- }
-}
-
-
-public class Foo {
- class public var bar: Int {
- return 42
- }
+public class Foo {
+ static public var bar: Int {
+ return 42
+ }
}
-public class RootFoo {
- class public var foo: String {
- return "foo"
- }
-}
-public class Foo: RootFoo {
- override final class public var foo: String {
- return "bar"
- }
+public class Foo {
+ class public var bar: Int {
+ return 42
+ }
}
-open class Bar {
- public var foo: Int? {
- return 42
- }
-}
-open class Foo: Bar {
- public override var foo: Int? {
- return 43
- }
+public class RootFoo {
+ class public var foo: String {
+ return "foo"
+ }
+}
+public class Foo: RootFoo {
+ override final class public var foo: String
+ return "bar"
+ }
}
-protocol Foo: class {}
-class Bar {
- private(set) public weak var foo: Foo?
-}
-
-
-open class Bar {
- open class func foo() -> Int {
- return 42
- }
-}
-class Foo: Bar {
- class open override func foo() -> Int {
- return 43
- }
+open class Bar {
+ public var foo: Int? {
+ return 42
+ }
+}
+open class Foo: Bar {
+ public override var foo: Int? {
+ return 43
+ }
}
-open class Bar {
- open class func foo() -> Int {
- return 42
- }
-}
-class Foo: Bar {
- open override class func foo() -> Int {
- return 43
- }
+protocol Foo: class {}
+ class Bar {
+ private(set) public weak var foo: Foo?
}
-@objc
+open class Bar {
+ open class func foo() -> Int {
+ return 42
+ }
+}
+class Foo: Bar {
+ class open override func foo() -> Int {
+ return 43
+ }
+}
+
+open class Bar {
+ open class func foo() -> Int {
+ return 42
+ }
+}
+class Foo: Bar {
+ open override class func foo() -> Int {
+ return 43
+ }
+}
+
+@objc
final public class Foo: NSObject {}
-@objcMembers
+@objcMembers
final public class Foo: NSObject {}
-@objc
-final open class Foo: NSObject {
- weak open var weakBar: NSString? = nil
+@objc
+final open class Foo: NSObject {
+ weak open var weakBar: NSString? = nil
}
-final public class Foo {}
-
+final public class Foo {}
-internal class Foo: Bar {
- internal override func bar() {}
+internal class Foo: Bar {
+ internal override func bar() {}
}
-public struct Foo {
- weak internal var weakBar: NSObjetc? = nil
+public struct Foo {
+ weak internal var weakBar: NSObjetc? = nil
}
-class Foo {
- lazy internal var bar: String = "foo"
+class Foo {
+ lazy internal var bar: String = "foo"
}
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html
index 1e3d1a006..e8b7e6ed4 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -322,7 +325,6 @@
foo()
foo(
-
)
foo { }
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html
index 458b3e6e0..79aa0f8c9 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html
index 64a0338a1..2b302efa5 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html
index 3ffa8b2a4..d64cf7932 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html
index 37059320c..1ab97eeae 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html
index 018997145..61399c019 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html
index 04972c4ae..8e89e8f8d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html
index c01b3a4c6..e72cefc13 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -323,49 +326,49 @@
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-
struct Class0 { struct Class1 {} }
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-
enum Class0 { enum Class1 {} }
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-
enum Enum0 { enum Enum1 { case Case } }
@@ -380,19 +383,19 @@
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
-↓func func6() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ ↓func func6() {
+ }
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html
index 46c185ad3..930092aad 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html
index 04c97402a..ed7190008 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html
index c19686581..1a24e963a 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html
index 79200fa40..edbdc09b9 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html
index 9cbf72dc0..8df7fc592 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html
index 0efc96f2f..276a1316c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -319,27 +322,24 @@
Default configuration: warning
Non Triggering Examples
-class Foo {
+class Foo {
deinit {
NotificationCenter.default.removeObserver(self)
}
}
-
-class Foo {
+class Foo {
func bar() {
NotificationCenter.default.removeObserver(otherObject)
}
}
-
Triggering Examples
-class Foo {
+class Foo {
func bar() {
↓NotificationCenter.default.removeObserver(self)
}
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html
index 105feeac9..ecce98dc1 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html
index 9a5a01c72..cf87ec007 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html
index 378741fef..4c133cf0e 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html
index 237fc9e01..afea468d9 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html
index 0c2fedf3e..75a093834 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html
index de35010ce..d1ea3206c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html
index fbfeb3771..384f65427 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html
index f76171994..d66214e3e 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html
index 742b8536e..9868742f1 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html
index e2bde23bd..be007fb4f 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html
index 99414e8bf..b86e0c996 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -324,7 +327,6 @@
super.viewWillAppear(animated)
}
}
-
class VC: UIViewController {
override func viewWillAppear(_ animated: Bool) {
@@ -333,28 +335,24 @@
self.method2()
}
}
-
class VC: UIViewController {
override func loadView() {
}
}
-
class Some {
func viewWillAppear(_ animated: Bool) {
}
}
-
class VC: UIViewController {
override func viewDidLoad() {
- defer {
- super.viewDidLoad()
+ defer {
+ super.viewDidLoad()
}
}
}
-
Triggering Examples
class VC: UIViewController {
@@ -363,7 +361,6 @@
self.method()
}
}
-
class VC: UIViewController {
override func viewWillAppear(_ animated: Bool) {↓
@@ -372,13 +369,11 @@
super.viewWillAppear(animated)
}
}
-
class VC: UIViewController {
override func didReceiveMemoryWarning() {↓
}
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html
index 1457e4e72..38e56be19 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -338,7 +341,6 @@
extension Foo {
override var description: String { return "" }
}
-
struct Foo {
class Bar: NSObject {}
@@ -346,7 +348,6 @@
extension Foo.Bar {
override var description: String { return "" }
}
-
Triggering Examples
extension Person {
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html
index 158856405..77d756f26 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html
index f0848d822..a37df1e5f 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html
index 244450cd0..dad748241 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html
index 8b23dd144..9555654bb 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html
index ee81907fa..af8352210 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html
index 3e25615b0..3c32811de 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html
index 66fe9922c..0683c398b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -319,63 +322,74 @@
Default configuration: warning: XCTestCase
Non Triggering Examples
-class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+"class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
+
+internal class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-internal class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+public class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-public class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+@objc private class FooTest: XCTestCase {
+ @objc private func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-@objc private class FooTest: XCTestCase { @objc private func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+private class Foo: NSObject {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-private class Foo: NSObject { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+private class Foo {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-private class Foo { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
-
-public class FooTest: XCTestCase { func test1(param: Int) {}
- }
+public class FooTest: XCTestCase {
+ func test1(param: Int) {}
+}
Triggering Examples
-private ↓class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private func test4() {}
- }
+private ↓class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private func test4() {}
+}
-class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private ↓func test4() {}
- }
+class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private ↓func test4() {}
+}
-internal class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private ↓func test4() {}
- }
+internal class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private ↓func test4() {}
+}
-public class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private ↓func test4() {}
- }
+public class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private ↓func test4() {}
+}
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html
index c1bc15bce..fd69db90a 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html
index 8ef1f5db3..36be14e4f 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html
index 7c5a0933f..4f5d196d4 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html
index 1b72b3545..40827d8af 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -329,7 +332,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -353,7 +355,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -362,7 +363,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -374,7 +374,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -383,7 +382,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -392,7 +390,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -401,7 +398,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -413,7 +409,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -422,7 +417,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -431,7 +425,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -443,21 +436,18 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
fitBehavesLike("foo")
}
}
-
class TotoTests: QuickSpec {
override func spec() {
xitBehavesLike("foo")
}
}
-
Triggering Examples
class TotoTests {
@@ -474,7 +464,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -483,7 +472,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -502,7 +490,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -523,7 +510,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -532,7 +518,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -541,7 +526,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -550,7 +534,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -559,7 +542,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -568,7 +550,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -580,7 +561,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -592,7 +572,6 @@
}
}
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html
index 8d3fcf320..f0ea073af 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -322,7 +325,7 @@
class TotoTests: QuickSpec {
override func spec() {
describe("foo") {
- describe("bar") { }
+ describe("bar") { }
context("bar") {
it("bar") { }
}
@@ -331,7 +334,6 @@
}
}
}
-
Triggering Examples
class TotoTests: QuickSpec {
@@ -339,21 +341,18 @@
↓fdescribe("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓fcontext("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓fit("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -362,7 +361,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -371,7 +369,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -382,14 +379,12 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓fitBehavesLike("foo")
}
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html
index 0f1fb1b25..b31ee88f4 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -322,7 +325,7 @@
class TotoTests: QuickSpec {
override func spec() {
describe("foo") {
- describe("bar") { }
+ describe("bar") { }
context("bar") {
it("bar") { }
}
@@ -331,7 +334,6 @@
}
}
}
-
Triggering Examples
class TotoTests: QuickSpec {
@@ -339,21 +341,18 @@
↓xdescribe("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓xcontext("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓xit("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -362,7 +361,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -371,7 +369,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -382,21 +379,18 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓pending("foo")
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓xitBehavesLike("foo")
}
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html
index 535f06ec6..c1a0c5f77 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html
index 5a5768b1f..f82267076 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html
index 933479c29..d0f10bae3 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html
index fa54caea7..c308f82fe 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html
index 9b2641594..8dd4d24ce 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html
index ec1f86cec..26e03748c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html
index 65ac9a198..1ee75b3c9 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -371,7 +374,7 @@
var myVar: Optional<Int>↓=nil
-
+)
func funcName() {
var myVar: String?↓ = nil
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html
index e4fc97d2f..f7f1784c8 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html
index 29fa946d1..cb44bf3dd 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html
index 86ffd643c..fd16a0f87 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html
index 61b807ecd..2a75e493b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -325,19 +328,19 @@
func foo() -> Int {}
-func foo() -> (Int) -> Void {}
+func foo() -> Int -> Void {}
func foo() -> VoidResponse
-let foo: Int -> Void
+let foo: (Int) -> Void
-func foo() -> (Int) -> () {}
+func foo() -> Int -> () {}
-let foo: Int -> ()
+let foo: (Int) -> ()
func foo() -> ()?
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html
index 99acda654..c6ee9e379 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html
index 0b60136b9..1bc88d80d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -325,11 +328,11 @@
{Case Name}:{warning|error}
Non Triggering Examples
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error, notConnected
+ case success, error, notConnected
}
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error, notConnected(error: Error)
+ case success, error, notConnected(error: Error)
}
enum MyNetworkResponse: String, NetworkResponsable {
@@ -346,11 +349,11 @@
Triggering Examples
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error
+ case success, error
}
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error
+ case success, error
}
enum MyNetworkResponse: String, NetworkResponsable {
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html
index 9c7ad5044..85d6fc2ff 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html
index 94227c20e..90dc8b7ff 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json
index 6ff583b7a..597c4e955 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json
@@ -1 +1 @@
-{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"Parses the input YAML string as an untyped dictionary.
","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"The string value for this version.
","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"The current SwiftLint version.
","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"Swift 3.x - https://swift.org/download/#swift-30
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"Swift 4.0.x - https://swift.org/download/#swift-40
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"Swift 4.1.x - https://swift.org/download/#swift-41
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"Swift 4.2.x - https://swift.org/download/#swift-42
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"Swift 5.0.x - https://swift.org/download/#swift-50
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"Swift 5.1.x - https://swift.org/download/#swift-51
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"The current detected Swift compiler version, based on the currently accessible SourceKit version.
","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"The syntax kind associated with is token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"The byte range in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"The starting byte offset in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"The length in bytes for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"The SwiftLint-specific syntax tokens for this syntax map.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionAA04RuleG0Vvp":{"name":"ruleDescription","abstract":"The description of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"The severity of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"The location of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"The justification for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"A printable description for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"Creates a StyleViolation by specifying its properties directly.
","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"The severity that should be assigned to the violation of this parameter’s value is met.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"The value to configure the rule.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"Creates a RuleParameter by specifying its properties directly.
","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"The rules contained in this list.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"
The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"
The RuleKind that best categorizes this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSaySSGvp":{"name":"nonTriggeringExamples","abstract":"Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSaySSGvp":{"name":"triggeringExamples","abstract":"
Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyS2SGvp":{"name":"corrections","abstract":"
Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"
Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"The oldest version of the Swift compiler supported by this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"
The console-printable string for this description.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSaySSGARSDyS2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"Creates a RuleDescription by specifying all its properties directly.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"
The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"
All SwiftLint rule identifiers that are disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"Creates a Region by setting explicit values for all its properties.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"Whether the specific location is contained in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"Whether the specified rule is enabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"Whether the specified rule is disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"
The file path on disk for this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"The line offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"The character offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"A lossless printable description of this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"The file path for this location relative to the current working directory.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"Creates a Location by specifying its properties directly.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"
Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"
The file to lint with this linter.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"Computes or retrieves style violations.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"Computes or retrieves style violations and the time spent executing each rule.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"Applies corrections for all rules to this file, returning performed corrections.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"Formats the file associated with this linter.
","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"The file to lint with this linter.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"Whether or not this linter will be used to collect information from several files.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"Creates a Linter by specifying its properties directly.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"Returns a linter capable of checking for violations after running each rule’s collection step.
","parent_name":"Linter"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"The description of the rule for which this correction was applied.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"The location of the original violation that was corrected.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"The console-printable description for this correction.
","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"The command should only apply to the line preceding its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"The command should only apply to the same line as its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"The command should only apply to the line following its definition.
","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"The rule(s) associated with this command should be enabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"The rule(s) associated with this command should be disabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"The action (verb) that SwiftLint should perform when interpreting this command.
","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"The modifier for a command, used to modify its scope.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"The underlying SourceKitten dictionary.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"The cached substructure for this dictionary. Empty if there is no substructure.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"The kind of Swift expression represented by this dictionary, if it is an expression.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"The kind of Swift declaration represented by this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"The kind of Swift statement represented by this dictionary, if it is a statement.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"The accessibility level for this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"Swift source code should be indented using tabs.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"Swift source code should be indented using spaces with count spaces per indentation level.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"The default indentation style if none is explicitly provided.
","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"
Only enable the rules explicitly listed.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"Enable all available rules.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"Represents how a Configuration object can be configured with regards to rules.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"The standard file name to look for user-defined configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"The style to use when indenting Swift source code.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"Included paths to lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"Excluded paths to not lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"The identifier for the Reporter to use to report style violations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"The threshold for the number of warnings to tolerate before treating the lint as having failed.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"The root directory to search for nested configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"The absolute path from where this configuration was loaded from, if any.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"The location of the persisted cache to use whith this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"Creates a Configuration by specifying its properties directly.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"Creates a Configuration with convenience parameters.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"
The style of indentation used in a Swift project.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"Returns the files that can be linted by SwiftLint in the specified parent path.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"Returns an array of file paths after removing the excluded paths as defined by this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"
Creates a Configuration value based on the specified parameters.
","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"Creates a RuleListDocumentation instance from a RuleList.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"Write the rule list documentation as markdown files to the specified directory.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"User-facing documentation for a SwiftLint RuleList.
"},"Structs/Configuration.html":{"name":"Configuration","abstract":"The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.
"},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"
A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.
"},"Structs/Correction.html":{"name":"Correction","abstract":"A value describing a SwiftLint violation that was corrected.
"},"Structs/Linter.html":{"name":"Linter","abstract":"Represents a file that can be linted for style violations and corrections after being collected.
"},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"Represents a file that can compute style violations and corrections for a list of rules.
"},"Structs/Location.html":{"name":"Location","abstract":"The placement of a segment of Swift in a collection of source files.
"},"Structs/Region.html":{"name":"Region","abstract":"A contiguous region of Swift source code.
"},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.
"},"Structs/RuleList.html":{"name":"RuleList","abstract":"A list of available SwiftLint rules.
"},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"A configuration parameter for rules.
"},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.
"},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"Represents a Swift file’s syntax information.
"},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"A SwiftLint-aware Swift syntax token.
"},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"A value describing the version of the Swift compiler.
"},"Structs/Version.html":{"name":"Version","abstract":"A type describing the SwiftLint version.
"},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"An interface for parsing YAML.
"},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"Reports violations in SonarQube import format.
"},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"Reports violations in the format Xcode uses to display in the IDE. (default)
"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"A human-readable description for this configuration and its applied values.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"Apply an untyped configuration to the current value.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether the specified configuration is equivalent to the current value.
","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"
Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"
The kind of information to collect for each file being linted for this rule.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"
Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"
Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"Returns the substitution to apply for the given range.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"
The type of configuration used to configure this rule.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"This rule’s configuration.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"A verbose description of many of this rule’s properties.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"A description of how this rule has been configured to run.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"A default initializer for rules. All rules need to be trivially initializable.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"Creates a rule by applying its configuration.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether or not the specified rule is equivalent to the current rule.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"
The unique identifier for this reporter.
","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"
Return a string with the report for the specified violations.
","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"The kind of token being recursed over.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"
Get the kind from the specified dictionary.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"
Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"
Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"
An interface for enumerating files that can be linted by SwiftLint.
"},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"
An interface for reporting violations as strings.
"},"Protocols/Rule.html":{"name":"Rule","abstract":"An executable value that can identify issues (violations) in Swift source code.
"},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.
"},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"A rule that has unit tests automatically generated using Sourcery.
"},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"A rule that is user-configurable.
"},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"A rule that can correct violations.
"},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"
A SubstitutionCorrectableRule that is also an ASTRule.
"},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.
"},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"
Type-erased protocol used to check whether a rule is collectable.
"},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"A rule that requires knowledge of all other files being linted.
"},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"A CollectingRule that is also a CorrectableRule.
"},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"A configuration value for a rule to allow users to modify its behavior.
"},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"A thread-safe version of Swift’s standard print().
"},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"A thread-safe, newline-terminated version of fputs(..., stderr).
"},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"
Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"
Returns a new string, converting the path to a canonical absolute path.
","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"The rule list contains more than one configuration for the specified rule.
","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"Describes rules that validate Swift source conventions.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"Describes rules that validate common practices in the Swift community.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"Describes rules that validate stylistic choices.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"Describes rules that validate magnitudes or measurements of Swift source.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"Describes rules that validate that code patterns with poor performance are avoided.
","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"
Represents a single SwiftLint rule with the specified identifier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"The spelling of the string for this idenfitier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"Creates a RuleIdentifier by its string representation.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"The configuration didn’t match internal expectations.
","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"Accessible by the declaration’s immediate lexical scope.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"Accessible by the declaration’s same file.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"Accessible by the declaration’s same module, or modules importing it with the @testable attribute.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"Accessible by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"Accessible and customizable (via subclassing or overrides) by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"A call to a named function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"An argument value for a function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"An Array expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"A Dictionary expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"An object literal expression. https://developer.apple.com/swift/blog/?id=33
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"The kind of expression for a contiguous set of Swift source tokens.
"},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"The accessibility of a Swift source declaration.
"},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"All possible configuration errors.
"},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"An identifier representing a SwiftLint rule, or all rules.
"},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"All the possible rule kinds (categories).
"},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"All possible configuration errors.
"},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"The magnitude of a StyleViolation.
"},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"The rule list containing all available rules built into SwiftLint.
"},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"Creates a RuleStorage with no initial stored data.
","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"Creates a LinterCache by specifying a SwiftLint configuration and a file manager.
","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"Persists the cache to disk.
","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"Creates a SwiftLintFile with a SourceKitten File.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"
Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"
Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"The path on disk for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"The file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"A string view into the contents of this file optimized for string manipulation operations.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"The parsed lines for this file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"Invalidates all cached data for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"A unit of Swift source code, either on disk or in memory.
"},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"A persisted cache for storing and retrieving linter results.
"},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"A storage mechanism for aggregating the results of CollectingRules.
"},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"Reports violations as a newline-separated string of comma-separated values (CSV).
"},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"
Reports violations in the format that’s both fun and easy to read.
"},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.
"},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"Reports violations as HTML.
"},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"Reports violations as a JSON array.
"},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"Reports violations as JUnit XML.
"},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"Reports violations as markdown formated (with tables).
"},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"The following guides are available globally.
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Global%20Variables.html":{"name":"Global Variables","abstract":"The following global variables are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Functions.html":{"name":"Functions","abstract":"The following functions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
+{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"Parses the input YAML string as an untyped dictionary.
","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"The string value for this version.
","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"The current SwiftLint version.
","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"Swift 3.x - https://swift.org/download/#swift-30
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"Swift 4.0.x - https://swift.org/download/#swift-40
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"Swift 4.1.x - https://swift.org/download/#swift-41
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"Swift 4.2.x - https://swift.org/download/#swift-42
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"Swift 5.0.x - https://swift.org/download/#swift-50
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"Swift 5.1.x - https://swift.org/download/#swift-51
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"The current detected Swift compiler version, based on the currently accessible SourceKit version.
","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"The syntax kind associated with is token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"The byte range in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"The starting byte offset in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"The length in bytes for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"The SwiftLint-specific syntax tokens for this syntax map.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV14ruleIdentifierSSvp":{"name":"ruleIdentifier","abstract":"The identifier of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionSSvp":{"name":"ruleDescription","abstract":"The description of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8ruleNameSSvp":{"name":"ruleName","abstract":"The name of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"The severity of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"The location of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"The justification for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"A printable description for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"Creates a StyleViolation by specifying its properties directly.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8severityAcA0E8SeverityO_tF":{"name":"with(severity:)","abstract":"Returns the same violation, but with the severity that is passed in
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8locationAcA8LocationV_tF":{"name":"with(location:)","abstract":"Returns the same violation, but with the location that is passed in
","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"The severity that should be assigned to the violation of this parameter’s value is met.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"The value to configure the rule.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"Creates a RuleParameter by specifying its properties directly.
","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"The rules contained in this list.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"
The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"
The RuleKind that best categorizes this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSayAA7ExampleVGvp":{"name":"nonTriggeringExamples","abstract":"Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSayAA7ExampleVGvp":{"name":"triggeringExamples","abstract":"
Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyAA7ExampleVAFGvp":{"name":"corrections","abstract":"
Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"
Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"The oldest version of the Swift compiler supported by this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"
The console-printable string for this description.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSayAA7ExampleVGATSDyA2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"Creates a RuleDescription by specifying all its properties directly.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"
The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"
All SwiftLint rule identifiers that are disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"Creates a Region by setting explicit values for all its properties.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"Whether the specific location is contained in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"Whether the specified rule is enabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"Whether the specified rule is disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"
The file path on disk for this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"The line offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"The character offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"A lossless printable description of this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"The file path for this location relative to the current working directory.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"Creates a Location by specifying its properties directly.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"
Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"
The file to lint with this linter.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"Computes or retrieves style violations.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"Computes or retrieves style violations and the time spent executing each rule.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"Applies corrections for all rules to this file, returning performed corrections.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"Formats the file associated with this linter.
","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"The file to lint with this linter.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"Whether or not this linter will be used to collect information from several files.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"Creates a Linter by specifying its properties directly.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"Returns a linter capable of checking for violations after running each rule’s collection step.
","parent_name":"Linter"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4codeSSvp":{"name":"code","abstract":"The contents of the example
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4files12StaticStringVvp":{"name":"file","abstract":"The path to the file where the example was created
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4lineSuvp":{"name":"line","abstract":"The line in the file where the example was created
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV_4file4lineACSS_s12StaticStringVSutcfc":{"name":"init(_:file:line:)","abstract":"Create a new Example with the specified code, file, and line
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4with4codeACSS_tF":{"name":"with(code:)","abstract":"Returns the same example, but with the code that is passed in
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV24removingViolationMarkersACyF":{"name":"removingViolationMarkers()","abstract":"Returns a copy of the Example with all instances of the “↓” character removed.
","parent_name":"Example"},"Structs/Example.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Example"},"Structs/Example.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Example"},"Structs/Example.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Example"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"The description of the rule for which this correction was applied.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"The location of the original violation that was corrected.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"The console-printable description for this correction.
","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"The command should only apply to the line preceding its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"The command should only apply to the same line as its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"The command should only apply to the line following its definition.
","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"The rule(s) associated with this command should be enabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"The rule(s) associated with this command should be disabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"The action (verb) that SwiftLint should perform when interpreting this command.
","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"The modifier for a command, used to modify its scope.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"The underlying SourceKitten dictionary.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"The cached substructure for this dictionary. Empty if there is no substructure.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"The kind of Swift expression represented by this dictionary, if it is an expression.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"The kind of Swift declaration represented by this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"The kind of Swift statement represented by this dictionary, if it is a statement.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"The accessibility level for this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"Swift source code should be indented using tabs.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"Swift source code should be indented using spaces with count spaces per indentation level.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"The default indentation style if none is explicitly provided.
","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"
Only enable the rules explicitly listed.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"Enable all available rules.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"Represents how a Configuration object can be configured with regards to rules.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"The standard file name to look for user-defined configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"The style to use when indenting Swift source code.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"Included paths to lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"Excluded paths to not lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"The identifier for the Reporter to use to report style violations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"The threshold for the number of warnings to tolerate before treating the lint as having failed.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"The root directory to search for nested configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"The absolute path from where this configuration was loaded from, if any.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"The location of the persisted cache to use whith this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"Creates a Configuration by specifying its properties directly.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"Creates a Configuration with convenience parameters.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"
The style of indentation used in a Swift project.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"Returns the files that can be linted by SwiftLint in the specified parent path.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"Returns an array of file paths after removing the excluded paths as defined by this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"
Creates a Configuration value based on the specified parameters.
","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"Creates a RuleListDocumentation instance from a RuleList.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"Write the rule list documentation as markdown files to the specified directory.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"User-facing documentation for a SwiftLint RuleList.
"},"Structs/Configuration.html":{"name":"Configuration","abstract":"The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.
"},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"
A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.
"},"Structs/Correction.html":{"name":"Correction","abstract":"A value describing a SwiftLint violation that was corrected.
"},"Structs/Example.html":{"name":"Example","abstract":"Captures code and context information for an example of a triggering or"},"Structs/Linter.html":{"name":"Linter","abstract":"
Represents a file that can be linted for style violations and corrections after being collected.
"},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"Represents a file that can compute style violations and corrections for a list of rules.
"},"Structs/Location.html":{"name":"Location","abstract":"The placement of a segment of Swift in a collection of source files.
"},"Structs/Region.html":{"name":"Region","abstract":"A contiguous region of Swift source code.
"},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.
"},"Structs/RuleList.html":{"name":"RuleList","abstract":"A list of available SwiftLint rules.
"},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"A configuration parameter for rules.
"},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.
"},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"Represents a Swift file’s syntax information.
"},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"A SwiftLint-aware Swift syntax token.
"},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"A value describing the version of the Swift compiler.
"},"Structs/Version.html":{"name":"Version","abstract":"A type describing the SwiftLint version.
"},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"An interface for parsing YAML.
"},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"Reports violations in SonarQube import format.
"},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"Reports violations in the format Xcode uses to display in the IDE. (default)
"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"A human-readable description for this configuration and its applied values.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"Apply an untyped configuration to the current value.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether the specified configuration is equivalent to the current value.
","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"
Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"
The kind of information to collect for each file being linted for this rule.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"
Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"
Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"Returns the substitution to apply for the given range.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"
The type of configuration used to configure this rule.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"This rule’s configuration.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"A verbose description of many of this rule’s properties.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"A description of how this rule has been configured to run.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"A default initializer for rules. All rules need to be trivially initializable.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"Creates a rule by applying its configuration.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether or not the specified rule is equivalent to the current rule.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"
The unique identifier for this reporter.
","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"
Return a string with the report for the specified violations.
","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"The kind of token being recursed over.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"
Get the kind from the specified dictionary.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"
Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"
Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"
An interface for enumerating files that can be linted by SwiftLint.
"},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"
An interface for reporting violations as strings.
"},"Protocols/Rule.html":{"name":"Rule","abstract":"An executable value that can identify issues (violations) in Swift source code.
"},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.
"},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"A rule that has unit tests automatically generated using Sourcery.
"},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"A rule that is user-configurable.
"},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"A rule that can correct violations.
"},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"
A SubstitutionCorrectableRule that is also an ASTRule.
"},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.
"},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"
Type-erased protocol used to check whether a rule is collectable.
"},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"A rule that requires knowledge of all other files being linted.
"},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"A CollectingRule that is also a CorrectableRule.
"},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"A configuration value for a rule to allow users to modify its behavior.
"},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"A thread-safe version of Swift’s standard print().
"},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"A thread-safe, newline-terminated version of fputs(..., stderr).
"},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"
Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"
Returns a new string, converting the path to a canonical absolute path.
","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"The rule list contains more than one configuration for the specified rule.
","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"Describes rules that validate Swift source conventions.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"Describes rules that validate common practices in the Swift community.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"Describes rules that validate stylistic choices.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"Describes rules that validate magnitudes or measurements of Swift source.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"Describes rules that validate that code patterns with poor performance are avoided.
","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"
Represents a single SwiftLint rule with the specified identifier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"The spelling of the string for this idenfitier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"Creates a RuleIdentifier by its string representation.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"The configuration didn’t match internal expectations.
","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"Accessible by the declaration’s immediate lexical scope.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"Accessible by the declaration’s same file.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"Accessible by the declaration’s same module, or modules importing it with the @testable attribute.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"Accessible by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"Accessible and customizable (via subclassing or overrides) by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"A call to a named function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"An argument value for a function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"An Array expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"A Dictionary expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"An object literal expression. https://developer.apple.com/swift/blog/?id=33
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"The kind of expression for a contiguous set of Swift source tokens.
"},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"The accessibility of a Swift source declaration.
"},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"All possible configuration errors.
"},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"An identifier representing a SwiftLint rule, or all rules.
"},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"All the possible rule kinds (categories).
"},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"All possible configuration errors.
"},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"The magnitude of a StyleViolation.
"},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"The rule list containing all available rules built into SwiftLint.
"},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"Creates a RuleStorage with no initial stored data.
","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"Creates a LinterCache by specifying a SwiftLint configuration and a file manager.
","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"Persists the cache to disk.
","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"Creates a SwiftLintFile with a SourceKitten File.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"
Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"
Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"The path on disk for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"The file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"A string view into the contents of this file optimized for string manipulation operations.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"The parsed lines for this file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"Invalidates all cached data for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"A unit of Swift source code, either on disk or in memory.
"},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"A persisted cache for storing and retrieving linter results.
"},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"A storage mechanism for aggregating the results of CollectingRules.
"},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"Reports violations as a newline-separated string of comma-separated values (CSV).
"},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"
Reports violations in the format that’s both fun and easy to read.
"},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.
"},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"Reports violations as HTML.
"},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"Reports violations as a JSON array.
"},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"Reports violations as JUnit XML.
"},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"Reports violations as markdown formated (with tables).
"},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"The following guides are available globally.
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Global%20Variables.html":{"name":"Global Variables","abstract":"The following global variables are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Functions.html":{"name":"Functions","abstract":"The following functions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html
index 2d1210050..679bba423 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html
index f2ac493b3..e0e1f5d3b 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -331,30 +334,24 @@
Triggering Examples
↓class FooTests: QuickSpec { }
↓class BarTests: QuickSpec { }
-
↓class FooTests: QuickSpec { }
↓class BarTests: QuickSpec { }
↓class TotoTests: QuickSpec { }
-
↓class FooTests: XCTestCase { }
↓class BarTests: XCTestCase { }
-
↓class FooTests: XCTestCase { }
↓class BarTests: XCTestCase { }
↓class TotoTests: XCTestCase { }
-
↓class FooTests: QuickSpec { }
↓class BarTests: XCTestCase { }
-
↓class FooTests: QuickSpec { }
↓class BarTests: XCTestCase { }
class TotoTests { }
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html
index b1031bc98..bb72b1190 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html
index 7e0e63a4b..b1c35e308 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html
index 6e6faf3e7..6f9095ab6 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html
index a9a7b8e5f..09ac67820 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html
index 798355404..6a7c034ab 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html
index ba3e5b35b..8ab85cbcc 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html
index f78e5d5e6..ce123fb71 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html
index 946744095..ad3f93b1c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html
index 37bd42c66..cf40f3cc3 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -347,104 +350,87 @@
}
switch foo {
- case 1:
+ case 1:
return true
}
-
switch foo {
- default:
+ default:
return true
}
-
switch foo {
- case let value:
+ case let value:
return true
}
-
switch foo {
- case .myCase: // error from network
+ case .myCase: // error from network
return true
}
-
switch foo {
- case let .myCase(value) where value > 10:
+ case let .myCase(value) where value > 10:
return false
}
-
switch foo {
- case let .myCase(value)
+ case let .myCase(value)
where value > 10:
return false
}
-
switch foo {
- case let .myCase(code: lhsErrorCode, description: _)
+ case let .myCase(code: lhsErrorCode, description: _)
where lhsErrorCode > 10:
- return false
+return false
}
-
switch foo {
- case #selector(aFunction(_:)):
+ case #selector(aFunction(_:)):
return false
}
-
Triggering Examples
switch foo {
- ↓case 1: return true
+ ↓case 1: return true
}
-
switch foo {
- ↓case let value: return true
+ ↓case let value: return true
}
-
switch foo {
- ↓default: return true
+ ↓default: return true
}
-
switch foo {
- ↓case "a string": return false
+ ↓case "a string": return false
}
-
switch foo {
- ↓case .myCase: return false // error from network
+ ↓case .myCase: return false // error from network
}
-
switch foo {
- ↓case let .myCase(value) where value > 10: return false
+ ↓case let .myCase(value) where value > 10: return false
}
-
switch foo {
- ↓case #selector(aFunction(_:)): return false
+ ↓case #selector(aFunction(_:)): return false
}
-
switch foo {
- ↓case let .myCase(value)
+ ↓case let .myCase(value)
where value > 10: return false
}
-
switch foo {
- ↓case .first,
+ ↓case .first,
.second: return false
}
-
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html
index ba33a426d..d9be57a3e 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html
index 551e7f5a0..2d1ebeadc 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html
index d27c56c6b..8f9d3b327 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html
index 3cec4dbd3..1004a36cd 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html
index 6a87fe51b..156fbbc09 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html
index 7420c57f2..6d58e75d2 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html
index d93493de0..c19bc2e81 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html
index 7d74bcff7..0f07962ff 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html
index 05204e415..7429e174d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html
index 5337bf805..6f26172e9 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -415,7 +418,7 @@
deinit {
log.debug("deinit")
- }
+ },
}
Triggering Examples
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html
index cd05a2b99..d46d162f1 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html
index 533df2028..f9341e36f 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html
index 88b9336f5..a167b024c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html
index a2901dbdf..3daf54c10 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html
index d6b4b39f7..68d223684 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html
index d12ed26f5..4117bad18 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html
index 42dcb42d1..a9e9268f0 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html
index 870be513f..858789a8d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html
index 89401c2c8..34f607913 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html
index 1fcf970c4..8abfd0c4d 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html
index 5ef2ad6fe..c8cd2436c 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html
index 244914d99..5103cb494 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html
index ae2162a24..282ffd428 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html
index 4e739097a..9dbfd23ce 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html
index 25e748b55..89d92c4fd 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html
index 3583e10b4..b878a5ed4 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -321,44 +324,35 @@
Non Triggering Examples
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary) { }
-
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary) -> [StyleViolation]
-
func foo(bar: Int)
-
-func foo(bar: Int) -> String
-
+func foo(bar: Int) -> String
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary)
-> [StyleViolation]
-
func validateFunction(
_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary) -> [StyleViolation]
-
func validateFunction(
_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary
) -> [StyleViolation]
-
func regex(_ pattern: String,
options: NSRegularExpression.Options = [.anchorsMatchLines,
.dotMatchesLineSeparators]) -> NSRegularExpression
-
func foo(a: Void,
b: [String: String] =
- [:]) {
+ [:]) {
}
-
func foo(data: (size: CGSize,
identifier: String)) {}
@@ -369,16 +363,13 @@
Triggering Examples
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
↓dictionary: SourceKittenDictionary) { }
-
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
↓dictionary: SourceKittenDictionary) { }
-
func validateFunction(_ file: SwiftLintFile,
↓kind: SwiftDeclarationKind,
↓dictionary: SourceKittenDictionary) { }
-
func foo(data: Data,
↓@ViewBuilder content: @escaping (Data.Element.IdentifiedValue) -> Content) {}
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html
index 32b399e82..438f0e7da 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html
index 559241d1b..448367bf0 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html
index 283bf66db..a398cf4ff 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
index dbe5421da..f4df2ff86 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html
index b29cccbec..5f11ce3fe 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html
index 9fcfdb6f8..8be427f45 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html
index eb9ead0b1..0cf5f048a 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html
index 953200109..5ef33c3aa 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -349,7 +352,7 @@
XCTAssertEqual(2, foo)
-XCTAssertNotEqual("false", foo)
+XCTAssertNotEqual("false"), foo)
XCTAssertEqual(false, foo?.bar)
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html
index 3e0e3d38b..41b0078f6 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html
index 64df0662b..0c8f32ee8 100644
--- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html
+++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx b/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx
index 0ba927cb5..7743a4bde 100644
Binary files a/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx and b/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx differ
diff --git a/docsets/SwiftLintFramework.tgz b/docsets/SwiftLintFramework.tgz
index baa115059..ac8cfde3c 100644
Binary files a/docsets/SwiftLintFramework.tgz and b/docsets/SwiftLintFramework.tgz differ
diff --git a/duplicate_enum_cases.html b/duplicate_enum_cases.html
index e6cde2944..97d442de5 100644
--- a/duplicate_enum_cases.html
+++ b/duplicate_enum_cases.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/duplicate_imports.html b/duplicate_imports.html
index 08d3a1d4d..98522a738 100644
--- a/duplicate_imports.html
+++ b/duplicate_imports.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/dynamic_inline.html b/dynamic_inline.html
index fd8a64748..f72e55c12 100644
--- a/dynamic_inline.html
+++ b/dynamic_inline.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/empty_collection_literal.html b/empty_collection_literal.html
index 0e7e6c73d..b2486275d 100644
--- a/empty_collection_literal.html
+++ b/empty_collection_literal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/empty_count.html b/empty_count.html
index f09632937..e30206c7e 100644
--- a/empty_count.html
+++ b/empty_count.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/empty_enum_arguments.html b/empty_enum_arguments.html
index f7f67b5f4..dcd1d87cd 100644
--- a/empty_enum_arguments.html
+++ b/empty_enum_arguments.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -320,52 +323,52 @@
Non Triggering Examples
switch foo {
- case .bar: break
+case .bar: break
}
switch foo {
- case .bar(let x): break
+case .bar(let x): break
}
switch foo {
- case let .bar(x): break
+case let .bar(x): break
}
switch (foo, bar) {
- case (_, _): break
+case (_, _): break
}
switch foo {
- case "bar".uppercased(): break
+case "bar".uppercased(): break
}
switch (foo, bar) {
- case (_, _) where !something: break
+case (_, _) where !something: break
}
switch foo {
- case (let f as () -> String)?: break
+case (let f as () -> String)?: break
}
switch foo {
- default: break
+default: break
}
Triggering Examples
switch foo {
- case .bar↓(_): break
+case .bar↓(_): break
}
switch foo {
- case .bar↓(): break
+case .bar↓(): break
}
switch foo {
- case .bar↓(_), .bar2↓(_): break
+case .bar↓(_), .bar2↓(_): break
}
switch foo {
- case .bar↓() where method() > 2: break
+case .bar↓() where method() > 2: break
}
func example(foo: Foo) {
diff --git a/empty_parameters.html b/empty_parameters.html
index 6cc7ca508..2aa386c74 100644
--- a/empty_parameters.html
+++ b/empty_parameters.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/empty_parentheses_with_trailing_closure.html b/empty_parentheses_with_trailing_closure.html
index b49a93ff2..2fc1dd896 100644
--- a/empty_parentheses_with_trailing_closure.html
+++ b/empty_parentheses_with_trailing_closure.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/empty_string.html b/empty_string.html
index c3a564ddd..6ed1f830d 100644
--- a/empty_string.html
+++ b/empty_string.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/empty_xctest_method.html b/empty_xctest_method.html
index 15e0ce2d3..21d8791c9 100644
--- a/empty_xctest_method.html
+++ b/empty_xctest_method.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/enum_case_associated_values_count.html b/enum_case_associated_values_count.html
index a1ecb4b7a..b3f126e4b 100644
--- a/enum_case_associated_values_count.html
+++ b/enum_case_associated_values_count.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/expiring_todo.html b/expiring_todo.html
index 5ec659f93..4d03f2066 100644
--- a/expiring_todo.html
+++ b/expiring_todo.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/explicit_acl.html b/explicit_acl.html
index dfc522ec9..aa0eac174 100644
--- a/explicit_acl.html
+++ b/explicit_acl.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/explicit_enum_raw_value.html b/explicit_enum_raw_value.html
index 497b2cc4d..739172d69 100644
--- a/explicit_enum_raw_value.html
+++ b/explicit_enum_raw_value.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/explicit_init.html b/explicit_init.html
index cc5879c2a..c7a4fbfd3 100644
--- a/explicit_init.html
+++ b/explicit_init.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/explicit_self.html b/explicit_self.html
index 1cd59b285..844768c34 100644
--- a/explicit_self.html
+++ b/explicit_self.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/explicit_top_level_acl.html b/explicit_top_level_acl.html
index 40eac12a2..c059519de 100644
--- a/explicit_top_level_acl.html
+++ b/explicit_top_level_acl.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/explicit_type_interface.html b/explicit_type_interface.html
index fb536e420..cba016361 100644
--- a/explicit_type_interface.html
+++ b/explicit_type_interface.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/extension_access_modifier.html b/extension_access_modifier.html
index 9b3a1660e..faa77de80 100644
--- a/extension_access_modifier.html
+++ b/extension_access_modifier.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/fallthrough.html b/fallthrough.html
index 604f5bcd4..7f2d152bb 100644
--- a/fallthrough.html
+++ b/fallthrough.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/fatal_error_message.html b/fatal_error_message.html
index 5f7e3e45e..9c06011aa 100644
--- a/fatal_error_message.html
+++ b/fatal_error_message.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/file_header.html b/file_header.html
index c752cee70..1885de421 100644
--- a/file_header.html
+++ b/file_header.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/file_length.html b/file_length.html
index 29acda8f6..0983e1142 100644
--- a/file_length.html
+++ b/file_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/file_name.html b/file_name.html
index 82d6f109b..aa260c9bd 100644
--- a/file_name.html
+++ b/file_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/file_name_no_space.html b/file_name_no_space.html
index a139a7298..6f02e12cc 100644
--- a/file_name_no_space.html
+++ b/file_name_no_space.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/file_types_order.html b/file_types_order.html
index 2ed2add54..c3f2c53bd 100644
--- a/file_types_order.html
+++ b/file_types_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/first_where.html b/first_where.html
index b6d919cd2..84cb63caa 100644
--- a/first_where.html
+++ b/first_where.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/flatmap_over_map_reduce.html b/flatmap_over_map_reduce.html
index b827db961..0ff81539c 100644
--- a/flatmap_over_map_reduce.html
+++ b/flatmap_over_map_reduce.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/for_where.html b/for_where.html
index 1ccb10686..73ff9c86a 100644
--- a/for_where.html
+++ b/for_where.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/force_cast.html b/force_cast.html
index 3ce0672ca..38ef87bbf 100644
--- a/force_cast.html
+++ b/force_cast.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/force_try.html b/force_try.html
index 0bc502d8c..f09b991d3 100644
--- a/force_try.html
+++ b/force_try.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/force_unwrapping.html b/force_unwrapping.html
index b3ade1365..55469a99f 100644
--- a/force_unwrapping.html
+++ b/force_unwrapping.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/function_body_length.html b/function_body_length.html
index b3e684aab..b9f5d283b 100644
--- a/function_body_length.html
+++ b/function_body_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/function_default_parameter_at_end.html b/function_default_parameter_at_end.html
index ad6db6fd4..8df4c6de1 100644
--- a/function_default_parameter_at_end.html
+++ b/function_default_parameter_at_end.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/function_parameter_count.html b/function_parameter_count.html
index 270d3cec9..daa1b4e28 100644
--- a/function_parameter_count.html
+++ b/function_parameter_count.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -336,7 +339,7 @@
func f(a: Int, b: Int, c: Int, d: Int, x: Int = 42) {}
func f(a: [Int], b: Int, c: Int, d: Int, f: Int) -> [Int] {
-let s = a.flatMap { $0 as? [String: Int] } ?? []}}
+ let s = a.flatMap { $0 as? [String: Int] } ?? []}}
override func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
@@ -348,8 +351,8 @@
↓func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int = 2, g: Int) {}
struct Foo {
-init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
-↓func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
+ init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
+ ↓func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
diff --git a/generic_type_name.html b/generic_type_name.html
index b47e0cf6b..088d25b58 100644
--- a/generic_type_name.html
+++ b/generic_type_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/identical_operands.html b/identical_operands.html
index 7844c8301..6bb694f33 100644
--- a/identical_operands.html
+++ b/identical_operands.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/identifier_name.html b/identifier_name.html
index 9b3db6def..9f83d2a02 100644
--- a/identifier_name.html
+++ b/identifier_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/implicit_getter.html b/implicit_getter.html
index 5c3c6686b..06634f8d4 100644
--- a/implicit_getter.html
+++ b/implicit_getter.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -363,11 +366,9 @@
protocol Foo {
var foo: Int { get }
-
protocol Foo {
var foo: Int { get set }
-
class Foo {
var foo: Int {
diff --git a/implicit_return.html b/implicit_return.html
index 463284085..a97cf6e07 100644
--- a/implicit_return.html
+++ b/implicit_return.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -316,7 +319,7 @@
Kind: style
Analyzer rule: No
Minimum Swift compiler version: 3.0.0
-Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
+Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
Non Triggering Examples
if foo {
diff --git a/implicitly_unwrapped_optional.html b/implicitly_unwrapped_optional.html
index d4b06c1a6..60c4b97e6 100644
--- a/implicitly_unwrapped_optional.html
+++ b/implicitly_unwrapped_optional.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/indentation_width.html b/indentation_width.html
index 7b97f9929..a5987669b 100644
--- a/indentation_width.html
+++ b/indentation_width.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/index.html b/index.html
index eb72d2a03..b8c1ed429 100644
--- a/index.html
+++ b/index.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/inert_defer.html b/inert_defer.html
index 23d04841b..987efb5e8 100644
--- a/inert_defer.html
+++ b/inert_defer.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/is_disjoint.html b/is_disjoint.html
index 2839969f1..8ff5c4e1b 100644
--- a/is_disjoint.html
+++ b/is_disjoint.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/joined_default_parameter.html b/joined_default_parameter.html
index ea02f2c69..68a71a473 100644
--- a/joined_default_parameter.html
+++ b/joined_default_parameter.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/large_tuple.html b/large_tuple.html
index ac22ab4ff..cfe6fc041 100644
--- a/large_tuple.html
+++ b/large_tuple.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/last_where.html b/last_where.html
index 29da01f11..9b4ab82e0 100644
--- a/last_where.html
+++ b/last_where.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/leading_whitespace.html b/leading_whitespace.html
index 0f043e431..ce98ef4d5 100644
--- a/leading_whitespace.html
+++ b/leading_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_cggeometry_functions.html b/legacy_cggeometry_functions.html
index d4116113a..e5ae270b7 100644
--- a/legacy_cggeometry_functions.html
+++ b/legacy_cggeometry_functions.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_constant.html b/legacy_constant.html
index baba52c6c..0c6e76ab6 100644
--- a/legacy_constant.html
+++ b/legacy_constant.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_constructor.html b/legacy_constructor.html
index f5602a3a6..ca19be29c 100644
--- a/legacy_constructor.html
+++ b/legacy_constructor.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_hashing.html b/legacy_hashing.html
index 72499466e..b4de44716 100644
--- a/legacy_hashing.html
+++ b/legacy_hashing.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_multiple.html b/legacy_multiple.html
index 7543392c5..d3c68eea5 100644
--- a/legacy_multiple.html
+++ b/legacy_multiple.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_nsgeometry_functions.html b/legacy_nsgeometry_functions.html
index c07daafd0..89a3c3cee 100644
--- a/legacy_nsgeometry_functions.html
+++ b/legacy_nsgeometry_functions.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/legacy_random.html b/legacy_random.html
index 296165c1a..f4895f164 100644
--- a/legacy_random.html
+++ b/legacy_random.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/let_var_whitespace.html b/let_var_whitespace.html
index 535fee16b..f03744739 100644
--- a/let_var_whitespace.html
+++ b/let_var_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/line_length.html b/line_length.html
index 54180bbdb..fb1f0ed2b 100644
--- a/line_length.html
+++ b/line_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/literal_expression_end_indentation.html b/literal_expression_end_indentation.html
index e4db98411..de90d08f6 100644
--- a/literal_expression_end_indentation.html
+++ b/literal_expression_end_indentation.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -333,7 +336,6 @@
[
1,
2]
-
let x = [
1,
diff --git a/lower_acl_than_parent.html b/lower_acl_than_parent.html
index 8ffb73a75..7b98e054a 100644
--- a/lower_acl_than_parent.html
+++ b/lower_acl_than_parent.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/mark.html b/mark.html
index 7e2eb0da8..051995eb3 100644
--- a/mark.html
+++ b/mark.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -386,7 +389,6 @@
struct MarkTest {}
↓// MARK:- Bad mark
extension MarkTest {}
-
diff --git a/missing_docs.html b/missing_docs.html
index 810a13154..20051f154 100644
--- a/missing_docs.html
+++ b/missing_docs.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -326,14 +329,12 @@
}
/// docs
public class B: A { override public func b() {} }
-
import Foundation
/// docs
public class B: NSObject {
// no docs
override public var description: String { fatalError() } }
-
/// docs
public class A {
diff --git a/modifier_order.html b/modifier_order.html
index 5d9555a5d..b82c49382 100644
--- a/modifier_order.html
+++ b/modifier_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -319,198 +322,192 @@
Default configuration: warning, preferred_modifier_order: [override, acl, setterACL, dynamic, mutators, lazy, final, required, convenience, typeMethods, owned]
Non Triggering Examples
-public class Foo {
- public convenience required init() {}
+public class Foo {
+ public convenience required init() {}
}
-public class Foo {
- public static let bar = 42
+public class Foo {
+ public static let bar = 42
}
-public class Foo {
- public static var bar: Int {
- return 42 }}
-
-public class Foo {
- public class var bar: Int {
- return 42
- }
+public class Foo {
+ public static var bar: Int {
+ return
+ }
}
-public class Bar {
- public class var foo: String {
- return "foo"
- }
-}
-public class Foo: Bar {
- override public final class var foo: String {
- return "bar"
- }
+public class Foo {
+ public class var bar: Int {
+ return 42
+ }
}
-open class Bar {
- public var foo: Int? {
- return 42
- }
-}
-open class Foo: Bar {
- override public var foo: Int? {
- return 43
- }
+public class Bar {
+ public class var foo: String {
+ return "foo"
+ }
+}
+public class Foo: Bar {
+ override public final class var foo: String {
+ return "bar"
+ }
}
-open class Bar {
- open class func foo() -> Int {
- return 42
- }
-}
-class Foo: Bar {
- override open class func foo() -> Int {
- return 43
- }
+open class Bar {
+ public var foo: Int? {
+ return 42
+ }
+}
+open class Foo: Bar {
+ override public var foo: Int? {
+ return 43
+ }
}
-protocol Foo: class {}
-class Bar {
- public private(set) weak var foo: Foo?
-}
-
+open class Bar {
+ open class func foo() -> Int {
+ return 42
+ }
+}
+class Foo: Bar {
+ override open class func foo() -> Int {
+ return 43
+ }
+}
-@objc
-public final class Foo: NSObject {}
-
+protocol Foo: class {}
+class Bar {
+ public private(set) weak var foo: Foo?
+}
-@objcMembers
-public final class Foo: NSObject {}
-
+@objc
+public final class Foo: NSObject {}
-@objc
-override public private(set) weak var foo: Bar?
-
+@objcMembers
+public final class Foo: NSObject {}
-@objc
-public final class Foo: NSObject {}
-
+@objc
+override public private(set) weak var foo: Bar?
-@objc
-open final class Foo: NSObject {
- open weak var weakBar: NSString? = nil
+@objc
+public final class Foo: NSObject {}
+
+@objc
+open final class Foo: NSObject {
+ open weak var weakBar: NSString? = nil
}
public final class Foo {}
-class Bar {
- func bar() {}
+class Bar {
+ func bar() {}
}
-internal class Foo: Bar {
- override internal func bar() {}
+internal class Foo: Bar {
+ override internal func bar() {}
}
-public struct Foo {
- internal weak var weakBar: NSObject? = nil
+public struct Foo {
+ internal weak var weakBar: NSObject? = nil
}
-class Foo {
- internal lazy var bar: String = "foo"
+class Foo {
+ internal lazy var bar: String = "foo"
}
Triggering Examples
-class Foo {
- convenience required public init() {}
+class Foo {
+ convenience required public init() {}
}
-public class Foo {
- static public let bar = 42
+public class Foo {
+ static public let bar = 42
}
-public class Foo {
- static public var bar: Int {
- return 42
- }
-}
-
-
-public class Foo {
- class public var bar: Int {
- return 42
- }
+public class Foo {
+ static public var bar: Int {
+ return 42
+ }
}
-public class RootFoo {
- class public var foo: String {
- return "foo"
- }
-}
-public class Foo: RootFoo {
- override final class public var foo: String {
- return "bar"
- }
+public class Foo {
+ class public var bar: Int {
+ return 42
+ }
}
-open class Bar {
- public var foo: Int? {
- return 42
- }
-}
-open class Foo: Bar {
- public override var foo: Int? {
- return 43
- }
+public class RootFoo {
+ class public var foo: String {
+ return "foo"
+ }
+}
+public class Foo: RootFoo {
+ override final class public var foo: String
+ return "bar"
+ }
}
-protocol Foo: class {}
-class Bar {
- private(set) public weak var foo: Foo?
-}
-
-
-open class Bar {
- open class func foo() -> Int {
- return 42
- }
-}
-class Foo: Bar {
- class open override func foo() -> Int {
- return 43
- }
+open class Bar {
+ public var foo: Int? {
+ return 42
+ }
+}
+open class Foo: Bar {
+ public override var foo: Int? {
+ return 43
+ }
}
-open class Bar {
- open class func foo() -> Int {
- return 42
- }
-}
-class Foo: Bar {
- open override class func foo() -> Int {
- return 43
- }
+protocol Foo: class {}
+ class Bar {
+ private(set) public weak var foo: Foo?
}
-@objc
+open class Bar {
+ open class func foo() -> Int {
+ return 42
+ }
+}
+class Foo: Bar {
+ class open override func foo() -> Int {
+ return 43
+ }
+}
+
+open class Bar {
+ open class func foo() -> Int {
+ return 42
+ }
+}
+class Foo: Bar {
+ open override class func foo() -> Int {
+ return 43
+ }
+}
+
+@objc
final public class Foo: NSObject {}
-@objcMembers
+@objcMembers
final public class Foo: NSObject {}
-@objc
-final open class Foo: NSObject {
- weak open var weakBar: NSString? = nil
+@objc
+final open class Foo: NSObject {
+ weak open var weakBar: NSString? = nil
}
-final public class Foo {}
-
+final public class Foo {}
-internal class Foo: Bar {
- internal override func bar() {}
+internal class Foo: Bar {
+ internal override func bar() {}
}
-public struct Foo {
- weak internal var weakBar: NSObjetc? = nil
+public struct Foo {
+ weak internal var weakBar: NSObjetc? = nil
}
-class Foo {
- lazy internal var bar: String = "foo"
+class Foo {
+ lazy internal var bar: String = "foo"
}
diff --git a/multiline_arguments.html b/multiline_arguments.html
index 1e3d1a006..e8b7e6ed4 100644
--- a/multiline_arguments.html
+++ b/multiline_arguments.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -322,7 +325,6 @@
foo()
foo(
-
)
foo { }
diff --git a/multiline_arguments_brackets.html b/multiline_arguments_brackets.html
index 458b3e6e0..79aa0f8c9 100644
--- a/multiline_arguments_brackets.html
+++ b/multiline_arguments_brackets.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/multiline_function_chains.html b/multiline_function_chains.html
index 64a0338a1..2b302efa5 100644
--- a/multiline_function_chains.html
+++ b/multiline_function_chains.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/multiline_literal_brackets.html b/multiline_literal_brackets.html
index 3ffa8b2a4..d64cf7932 100644
--- a/multiline_literal_brackets.html
+++ b/multiline_literal_brackets.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/multiline_parameters.html b/multiline_parameters.html
index 37059320c..1ab97eeae 100644
--- a/multiline_parameters.html
+++ b/multiline_parameters.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/multiline_parameters_brackets.html b/multiline_parameters_brackets.html
index 018997145..61399c019 100644
--- a/multiline_parameters_brackets.html
+++ b/multiline_parameters_brackets.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/multiple_closures_with_trailing_closure.html b/multiple_closures_with_trailing_closure.html
index 04972c4ae..8e89e8f8d 100644
--- a/multiple_closures_with_trailing_closure.html
+++ b/multiple_closures_with_trailing_closure.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/nesting.html b/nesting.html
index c01b3a4c6..e72cefc13 100644
--- a/nesting.html
+++ b/nesting.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -323,49 +326,49 @@
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-
struct Class0 { struct Class1 {} }
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-
enum Class0 { enum Class1 {} }
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-
enum Enum0 { enum Enum1 { case Case } }
@@ -380,19 +383,19 @@
func func0() {
-func func1() {
-func func2() {
-func func3() {
-func func4() { func func5() {
-↓func func6() {
+ func func1() {
+ func func2() {
+ func func3() {
+ func func4() {
+ func func5() {
+ ↓func func6() {
+ }
+ }
+ }
+ }
+ }
+ }
}
-}
-}
-}
-}
-}
-}
-
diff --git a/nimble_operator.html b/nimble_operator.html
index 46c185ad3..930092aad 100644
--- a/nimble_operator.html
+++ b/nimble_operator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/no_extension_access_modifier.html b/no_extension_access_modifier.html
index 04c97402a..ed7190008 100644
--- a/no_extension_access_modifier.html
+++ b/no_extension_access_modifier.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/no_fallthrough_only.html b/no_fallthrough_only.html
index c19686581..1a24e963a 100644
--- a/no_fallthrough_only.html
+++ b/no_fallthrough_only.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/no_grouping_extension.html b/no_grouping_extension.html
index 79200fa40..edbdc09b9 100644
--- a/no_grouping_extension.html
+++ b/no_grouping_extension.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/no_space_in_method_call.html b/no_space_in_method_call.html
index 9cbf72dc0..8df7fc592 100644
--- a/no_space_in_method_call.html
+++ b/no_space_in_method_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/notification_center_detachment.html b/notification_center_detachment.html
index 0efc96f2f..276a1316c 100644
--- a/notification_center_detachment.html
+++ b/notification_center_detachment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -319,27 +322,24 @@
Default configuration: warning
Non Triggering Examples
-class Foo {
+class Foo {
deinit {
NotificationCenter.default.removeObserver(self)
}
}
-
-class Foo {
+class Foo {
func bar() {
NotificationCenter.default.removeObserver(otherObject)
}
}
-
Triggering Examples
-class Foo {
+class Foo {
func bar() {
↓NotificationCenter.default.removeObserver(self)
}
}
-
diff --git a/nslocalizedstring_key.html b/nslocalizedstring_key.html
index 105feeac9..ecce98dc1 100644
--- a/nslocalizedstring_key.html
+++ b/nslocalizedstring_key.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/nslocalizedstring_require_bundle.html b/nslocalizedstring_require_bundle.html
index 9a5a01c72..cf87ec007 100644
--- a/nslocalizedstring_require_bundle.html
+++ b/nslocalizedstring_require_bundle.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/nsobject_prefer_isequal.html b/nsobject_prefer_isequal.html
index 378741fef..4c133cf0e 100644
--- a/nsobject_prefer_isequal.html
+++ b/nsobject_prefer_isequal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/number_separator.html b/number_separator.html
index 237fc9e01..afea468d9 100644
--- a/number_separator.html
+++ b/number_separator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/object_literal.html b/object_literal.html
index 0c2fedf3e..75a093834 100644
--- a/object_literal.html
+++ b/object_literal.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/opening_brace.html b/opening_brace.html
index de35010ce..d1ea3206c 100644
--- a/opening_brace.html
+++ b/opening_brace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/operator_usage_whitespace.html b/operator_usage_whitespace.html
index fbfeb3771..384f65427 100644
--- a/operator_usage_whitespace.html
+++ b/operator_usage_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/operator_whitespace.html b/operator_whitespace.html
index f76171994..d66214e3e 100644
--- a/operator_whitespace.html
+++ b/operator_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/optional_enum_case_matching.html b/optional_enum_case_matching.html
index 742b8536e..9868742f1 100644
--- a/optional_enum_case_matching.html
+++ b/optional_enum_case_matching.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/orphaned_doc_comment.html b/orphaned_doc_comment.html
index e2bde23bd..be007fb4f 100644
--- a/orphaned_doc_comment.html
+++ b/orphaned_doc_comment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/overridden_super_call.html b/overridden_super_call.html
index 99414e8bf..b86e0c996 100644
--- a/overridden_super_call.html
+++ b/overridden_super_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -324,7 +327,6 @@
super.viewWillAppear(animated)
}
}
-
class VC: UIViewController {
override func viewWillAppear(_ animated: Bool) {
@@ -333,28 +335,24 @@
self.method2()
}
}
-
class VC: UIViewController {
override func loadView() {
}
}
-
class Some {
func viewWillAppear(_ animated: Bool) {
}
}
-
class VC: UIViewController {
override func viewDidLoad() {
- defer {
- super.viewDidLoad()
+ defer {
+ super.viewDidLoad()
}
}
}
-
Triggering Examples
class VC: UIViewController {
@@ -363,7 +361,6 @@
self.method()
}
}
-
class VC: UIViewController {
override func viewWillAppear(_ animated: Bool) {↓
@@ -372,13 +369,11 @@
super.viewWillAppear(animated)
}
}
-
class VC: UIViewController {
override func didReceiveMemoryWarning() {↓
}
}
-
diff --git a/override_in_extension.html b/override_in_extension.html
index 1457e4e72..38e56be19 100644
--- a/override_in_extension.html
+++ b/override_in_extension.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -338,7 +341,6 @@
extension Foo {
override var description: String { return "" }
}
-
struct Foo {
class Bar: NSObject {}
@@ -346,7 +348,6 @@
extension Foo.Bar {
override var description: String { return "" }
}
-
Triggering Examples
extension Person {
diff --git a/pattern_matching_keywords.html b/pattern_matching_keywords.html
index 158856405..77d756f26 100644
--- a/pattern_matching_keywords.html
+++ b/pattern_matching_keywords.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/prefer_self_type_over_type_of_self.html b/prefer_self_type_over_type_of_self.html
index f0848d822..a37df1e5f 100644
--- a/prefer_self_type_over_type_of_self.html
+++ b/prefer_self_type_over_type_of_self.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/prefixed_toplevel_constant.html b/prefixed_toplevel_constant.html
index 244450cd0..dad748241 100644
--- a/prefixed_toplevel_constant.html
+++ b/prefixed_toplevel_constant.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/private_action.html b/private_action.html
index 8b23dd144..9555654bb 100644
--- a/private_action.html
+++ b/private_action.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/private_outlet.html b/private_outlet.html
index ee81907fa..af8352210 100644
--- a/private_outlet.html
+++ b/private_outlet.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/private_over_fileprivate.html b/private_over_fileprivate.html
index 3e25615b0..3c32811de 100644
--- a/private_over_fileprivate.html
+++ b/private_over_fileprivate.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/private_unit_test.html b/private_unit_test.html
index 66fe9922c..0683c398b 100644
--- a/private_unit_test.html
+++ b/private_unit_test.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -319,63 +322,74 @@
Default configuration: warning: XCTestCase
Non Triggering Examples
-class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+"class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
+
+internal class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-internal class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+public class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-public class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+@objc private class FooTest: XCTestCase {
+ @objc private func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-@objc private class FooTest: XCTestCase { @objc private func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+private class Foo: NSObject {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-private class Foo: NSObject { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
+private class Foo {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+}
-private class Foo { func test1() {}
- internal func test2() {}
- public func test3() {}
- }
-
-public class FooTest: XCTestCase { func test1(param: Int) {}
- }
+public class FooTest: XCTestCase {
+ func test1(param: Int) {}
+}
Triggering Examples
-private ↓class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private func test4() {}
- }
+private ↓class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private func test4() {}
+}
-class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private ↓func test4() {}
- }
+class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private ↓func test4() {}
+}
-internal class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private ↓func test4() {}
- }
+internal class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private ↓func test4() {}
+}
-public class FooTest: XCTestCase { func test1() {}
- internal func test2() {}
- public func test3() {}
- private ↓func test4() {}
- }
+public class FooTest: XCTestCase {
+ func test1() {}
+ internal func test2() {}
+ public func test3() {}
+ private ↓func test4() {}
+}
diff --git a/prohibited_interface_builder.html b/prohibited_interface_builder.html
index c1bc15bce..fd69db90a 100644
--- a/prohibited_interface_builder.html
+++ b/prohibited_interface_builder.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/prohibited_super_call.html b/prohibited_super_call.html
index 8ef1f5db3..36be14e4f 100644
--- a/prohibited_super_call.html
+++ b/prohibited_super_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/protocol_property_accessors_order.html b/protocol_property_accessors_order.html
index 7c5a0933f..4f5d196d4 100644
--- a/protocol_property_accessors_order.html
+++ b/protocol_property_accessors_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/quick_discouraged_call.html b/quick_discouraged_call.html
index 1b72b3545..40827d8af 100644
--- a/quick_discouraged_call.html
+++ b/quick_discouraged_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -329,7 +332,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -353,7 +355,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -362,7 +363,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -374,7 +374,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -383,7 +382,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -392,7 +390,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -401,7 +398,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -413,7 +409,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -422,7 +417,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -431,7 +425,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -443,21 +436,18 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
fitBehavesLike("foo")
}
}
-
class TotoTests: QuickSpec {
override func spec() {
xitBehavesLike("foo")
}
}
-
Triggering Examples
class TotoTests {
@@ -474,7 +464,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -483,7 +472,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -502,7 +490,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -523,7 +510,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -532,7 +518,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -541,7 +526,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -550,7 +534,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -559,7 +542,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -568,7 +550,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -580,7 +561,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -592,7 +572,6 @@
}
}
}
-
diff --git a/quick_discouraged_focused_test.html b/quick_discouraged_focused_test.html
index 8d3fcf320..f0ea073af 100644
--- a/quick_discouraged_focused_test.html
+++ b/quick_discouraged_focused_test.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -322,7 +325,7 @@
class TotoTests: QuickSpec {
override func spec() {
describe("foo") {
- describe("bar") { }
+ describe("bar") { }
context("bar") {
it("bar") { }
}
@@ -331,7 +334,6 @@
}
}
}
-
Triggering Examples
class TotoTests: QuickSpec {
@@ -339,21 +341,18 @@
↓fdescribe("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓fcontext("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓fit("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -362,7 +361,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -371,7 +369,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -382,14 +379,12 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓fitBehavesLike("foo")
}
}
-
diff --git a/quick_discouraged_pending_test.html b/quick_discouraged_pending_test.html
index 0f1fb1b25..b31ee88f4 100644
--- a/quick_discouraged_pending_test.html
+++ b/quick_discouraged_pending_test.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -322,7 +325,7 @@
class TotoTests: QuickSpec {
override func spec() {
describe("foo") {
- describe("bar") { }
+ describe("bar") { }
context("bar") {
it("bar") { }
}
@@ -331,7 +334,6 @@
}
}
}
-
Triggering Examples
class TotoTests: QuickSpec {
@@ -339,21 +341,18 @@
↓xdescribe("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓xcontext("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓xit("foo") { }
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -362,7 +361,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -371,7 +369,6 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
@@ -382,21 +379,18 @@
}
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓pending("foo")
}
}
-
class TotoTests: QuickSpec {
override func spec() {
↓xitBehavesLike("foo")
}
}
-
diff --git a/raw_value_for_camel_cased_codable_enum.html b/raw_value_for_camel_cased_codable_enum.html
index 535f06ec6..c1a0c5f77 100644
--- a/raw_value_for_camel_cased_codable_enum.html
+++ b/raw_value_for_camel_cased_codable_enum.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/reduce_boolean.html b/reduce_boolean.html
index 5a5768b1f..f82267076 100644
--- a/reduce_boolean.html
+++ b/reduce_boolean.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/reduce_into.html b/reduce_into.html
index 933479c29..d0f10bae3 100644
--- a/reduce_into.html
+++ b/reduce_into.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_discardable_let.html b/redundant_discardable_let.html
index fa54caea7..c308f82fe 100644
--- a/redundant_discardable_let.html
+++ b/redundant_discardable_let.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_nil_coalescing.html b/redundant_nil_coalescing.html
index 9b2641594..8dd4d24ce 100644
--- a/redundant_nil_coalescing.html
+++ b/redundant_nil_coalescing.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_objc_attribute.html b/redundant_objc_attribute.html
index ec1f86cec..26e03748c 100644
--- a/redundant_objc_attribute.html
+++ b/redundant_objc_attribute.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_optional_initialization.html b/redundant_optional_initialization.html
index 65ac9a198..1ee75b3c9 100644
--- a/redundant_optional_initialization.html
+++ b/redundant_optional_initialization.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -371,7 +374,7 @@
var myVar: Optional<Int>↓=nil
-
+)
func funcName() {
var myVar: String?↓ = nil
diff --git a/redundant_set_access_control.html b/redundant_set_access_control.html
index e4fc97d2f..f7f1784c8 100644
--- a/redundant_set_access_control.html
+++ b/redundant_set_access_control.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_string_enum_value.html b/redundant_string_enum_value.html
index 29fa946d1..cb44bf3dd 100644
--- a/redundant_string_enum_value.html
+++ b/redundant_string_enum_value.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_type_annotation.html b/redundant_type_annotation.html
index 86ffd643c..fd16a0f87 100644
--- a/redundant_type_annotation.html
+++ b/redundant_type_annotation.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/redundant_void_return.html b/redundant_void_return.html
index 61b807ecd..2a75e493b 100644
--- a/redundant_void_return.html
+++ b/redundant_void_return.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -325,19 +328,19 @@
func foo() -> Int {}
-func foo() -> (Int) -> Void {}
+func foo() -> Int -> Void {}
func foo() -> VoidResponse
-let foo: Int -> Void
+let foo: (Int) -> Void
-func foo() -> (Int) -> () {}
+func foo() -> Int -> () {}
-let foo: Int -> ()
+let foo: (Int) -> ()
func foo() -> ()?
diff --git a/required_deinit.html b/required_deinit.html
index 99acda654..c6ee9e379 100644
--- a/required_deinit.html
+++ b/required_deinit.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/required_enum_case.html b/required_enum_case.html
index 0b60136b9..1bc88d80d 100644
--- a/required_enum_case.html
+++ b/required_enum_case.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -325,11 +328,11 @@
{Case Name}:{warning|error}
Non Triggering Examples
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error, notConnected
+ case success, error, notConnected
}
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error, notConnected(error: Error)
+ case success, error, notConnected(error: Error)
}
enum MyNetworkResponse: String, NetworkResponsable {
@@ -346,11 +349,11 @@
Triggering Examples
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error
+ case success, error
}
enum MyNetworkResponse: String, NetworkResponsable {
- case success, error
+ case success, error
}
enum MyNetworkResponse: String, NetworkResponsable {
diff --git a/return_arrow_whitespace.html b/return_arrow_whitespace.html
index 9c7ad5044..85d6fc2ff 100644
--- a/return_arrow_whitespace.html
+++ b/return_arrow_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/rule-directory.html b/rule-directory.html
index 94227c20e..90dc8b7ff 100644
--- a/rule-directory.html
+++ b/rule-directory.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/search.json b/search.json
index 6ff583b7a..597c4e955 100644
--- a/search.json
+++ b/search.json
@@ -1 +1 @@
-{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"Parses the input YAML string as an untyped dictionary.
","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"The string value for this version.
","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"The current SwiftLint version.
","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"Swift 3.x - https://swift.org/download/#swift-30
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"Swift 4.0.x - https://swift.org/download/#swift-40
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"Swift 4.1.x - https://swift.org/download/#swift-41
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"Swift 4.2.x - https://swift.org/download/#swift-42
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"Swift 5.0.x - https://swift.org/download/#swift-50
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"Swift 5.1.x - https://swift.org/download/#swift-51
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"The current detected Swift compiler version, based on the currently accessible SourceKit version.
","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"The syntax kind associated with is token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"The byte range in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"The starting byte offset in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"The length in bytes for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"The SwiftLint-specific syntax tokens for this syntax map.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionAA04RuleG0Vvp":{"name":"ruleDescription","abstract":"The description of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"The severity of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"The location of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"The justification for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"A printable description for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"Creates a StyleViolation by specifying its properties directly.
","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"The severity that should be assigned to the violation of this parameter’s value is met.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"The value to configure the rule.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"Creates a RuleParameter by specifying its properties directly.
","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"The rules contained in this list.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"
The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"
The RuleKind that best categorizes this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSaySSGvp":{"name":"nonTriggeringExamples","abstract":"Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSaySSGvp":{"name":"triggeringExamples","abstract":"
Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyS2SGvp":{"name":"corrections","abstract":"
Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"
Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"The oldest version of the Swift compiler supported by this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"
The console-printable string for this description.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSaySSGARSDyS2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"Creates a RuleDescription by specifying all its properties directly.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"
The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"
All SwiftLint rule identifiers that are disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"Creates a Region by setting explicit values for all its properties.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"Whether the specific location is contained in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"Whether the specified rule is enabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"Whether the specified rule is disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"
The file path on disk for this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"The line offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"The character offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"A lossless printable description of this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"The file path for this location relative to the current working directory.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"Creates a Location by specifying its properties directly.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"
Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"
The file to lint with this linter.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"Computes or retrieves style violations.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"Computes or retrieves style violations and the time spent executing each rule.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"Applies corrections for all rules to this file, returning performed corrections.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"Formats the file associated with this linter.
","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"The file to lint with this linter.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"Whether or not this linter will be used to collect information from several files.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"Creates a Linter by specifying its properties directly.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"Returns a linter capable of checking for violations after running each rule’s collection step.
","parent_name":"Linter"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"The description of the rule for which this correction was applied.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"The location of the original violation that was corrected.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"The console-printable description for this correction.
","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"The command should only apply to the line preceding its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"The command should only apply to the same line as its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"The command should only apply to the line following its definition.
","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"The rule(s) associated with this command should be enabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"The rule(s) associated with this command should be disabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"The action (verb) that SwiftLint should perform when interpreting this command.
","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"The modifier for a command, used to modify its scope.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"The underlying SourceKitten dictionary.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"The cached substructure for this dictionary. Empty if there is no substructure.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"The kind of Swift expression represented by this dictionary, if it is an expression.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"The kind of Swift declaration represented by this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"The kind of Swift statement represented by this dictionary, if it is a statement.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"The accessibility level for this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"Swift source code should be indented using tabs.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"Swift source code should be indented using spaces with count spaces per indentation level.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"The default indentation style if none is explicitly provided.
","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"
Only enable the rules explicitly listed.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"Enable all available rules.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"Represents how a Configuration object can be configured with regards to rules.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"The standard file name to look for user-defined configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"The style to use when indenting Swift source code.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"Included paths to lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"Excluded paths to not lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"The identifier for the Reporter to use to report style violations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"The threshold for the number of warnings to tolerate before treating the lint as having failed.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"The root directory to search for nested configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"The absolute path from where this configuration was loaded from, if any.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"The location of the persisted cache to use whith this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"Creates a Configuration by specifying its properties directly.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"Creates a Configuration with convenience parameters.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"
The style of indentation used in a Swift project.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"Returns the files that can be linted by SwiftLint in the specified parent path.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"Returns an array of file paths after removing the excluded paths as defined by this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"
Creates a Configuration value based on the specified parameters.
","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"Creates a RuleListDocumentation instance from a RuleList.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"Write the rule list documentation as markdown files to the specified directory.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"User-facing documentation for a SwiftLint RuleList.
"},"Structs/Configuration.html":{"name":"Configuration","abstract":"The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.
"},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"
A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.
"},"Structs/Correction.html":{"name":"Correction","abstract":"A value describing a SwiftLint violation that was corrected.
"},"Structs/Linter.html":{"name":"Linter","abstract":"Represents a file that can be linted for style violations and corrections after being collected.
"},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"Represents a file that can compute style violations and corrections for a list of rules.
"},"Structs/Location.html":{"name":"Location","abstract":"The placement of a segment of Swift in a collection of source files.
"},"Structs/Region.html":{"name":"Region","abstract":"A contiguous region of Swift source code.
"},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.
"},"Structs/RuleList.html":{"name":"RuleList","abstract":"A list of available SwiftLint rules.
"},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"A configuration parameter for rules.
"},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.
"},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"Represents a Swift file’s syntax information.
"},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"A SwiftLint-aware Swift syntax token.
"},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"A value describing the version of the Swift compiler.
"},"Structs/Version.html":{"name":"Version","abstract":"A type describing the SwiftLint version.
"},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"An interface for parsing YAML.
"},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"Reports violations in SonarQube import format.
"},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"Reports violations in the format Xcode uses to display in the IDE. (default)
"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"A human-readable description for this configuration and its applied values.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"Apply an untyped configuration to the current value.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether the specified configuration is equivalent to the current value.
","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"
Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"
The kind of information to collect for each file being linted for this rule.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"
Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"
Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"Returns the substitution to apply for the given range.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"
The type of configuration used to configure this rule.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"This rule’s configuration.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"A verbose description of many of this rule’s properties.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"A description of how this rule has been configured to run.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"A default initializer for rules. All rules need to be trivially initializable.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"Creates a rule by applying its configuration.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether or not the specified rule is equivalent to the current rule.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"
The unique identifier for this reporter.
","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"
Return a string with the report for the specified violations.
","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"The kind of token being recursed over.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"
Get the kind from the specified dictionary.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"
Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"
Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"
An interface for enumerating files that can be linted by SwiftLint.
"},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"
An interface for reporting violations as strings.
"},"Protocols/Rule.html":{"name":"Rule","abstract":"An executable value that can identify issues (violations) in Swift source code.
"},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.
"},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"A rule that has unit tests automatically generated using Sourcery.
"},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"A rule that is user-configurable.
"},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"A rule that can correct violations.
"},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"
A SubstitutionCorrectableRule that is also an ASTRule.
"},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.
"},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"
Type-erased protocol used to check whether a rule is collectable.
"},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"A rule that requires knowledge of all other files being linted.
"},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"A CollectingRule that is also a CorrectableRule.
"},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"A configuration value for a rule to allow users to modify its behavior.
"},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"A thread-safe version of Swift’s standard print().
"},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"A thread-safe, newline-terminated version of fputs(..., stderr).
"},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"
Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"
Returns a new string, converting the path to a canonical absolute path.
","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"The rule list contains more than one configuration for the specified rule.
","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"Describes rules that validate Swift source conventions.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"Describes rules that validate common practices in the Swift community.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"Describes rules that validate stylistic choices.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"Describes rules that validate magnitudes or measurements of Swift source.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"Describes rules that validate that code patterns with poor performance are avoided.
","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"
Represents a single SwiftLint rule with the specified identifier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"The spelling of the string for this idenfitier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"Creates a RuleIdentifier by its string representation.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"The configuration didn’t match internal expectations.
","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"Accessible by the declaration’s immediate lexical scope.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"Accessible by the declaration’s same file.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"Accessible by the declaration’s same module, or modules importing it with the @testable attribute.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"Accessible by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"Accessible and customizable (via subclassing or overrides) by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"A call to a named function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"An argument value for a function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"An Array expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"A Dictionary expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"An object literal expression. https://developer.apple.com/swift/blog/?id=33
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"The kind of expression for a contiguous set of Swift source tokens.
"},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"The accessibility of a Swift source declaration.
"},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"All possible configuration errors.
"},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"An identifier representing a SwiftLint rule, or all rules.
"},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"All the possible rule kinds (categories).
"},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"All possible configuration errors.
"},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"The magnitude of a StyleViolation.
"},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"The rule list containing all available rules built into SwiftLint.
"},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"Creates a RuleStorage with no initial stored data.
","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"Creates a LinterCache by specifying a SwiftLint configuration and a file manager.
","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"Persists the cache to disk.
","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"Creates a SwiftLintFile with a SourceKitten File.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"
Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"
Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"The path on disk for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"The file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"A string view into the contents of this file optimized for string manipulation operations.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"The parsed lines for this file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"Invalidates all cached data for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"A unit of Swift source code, either on disk or in memory.
"},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"A persisted cache for storing and retrieving linter results.
"},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"A storage mechanism for aggregating the results of CollectingRules.
"},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"Reports violations as a newline-separated string of comma-separated values (CSV).
"},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"
Reports violations in the format that’s both fun and easy to read.
"},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.
"},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"Reports violations as HTML.
"},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"Reports violations as a JSON array.
"},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"Reports violations as JUnit XML.
"},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"Reports violations as markdown formated (with tables).
"},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"The following guides are available globally.
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Global%20Variables.html":{"name":"Global Variables","abstract":"The following global variables are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Functions.html":{"name":"Functions","abstract":"The following functions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
+{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"Parses the input YAML string as an untyped dictionary.
","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"The string value for this version.
","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"The current SwiftLint version.
","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"Swift 3.x - https://swift.org/download/#swift-30
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"Swift 4.0.x - https://swift.org/download/#swift-40
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"Swift 4.1.x - https://swift.org/download/#swift-41
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"Swift 4.2.x - https://swift.org/download/#swift-42
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"Swift 5.0.x - https://swift.org/download/#swift-50
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"Swift 5.1.x - https://swift.org/download/#swift-51
","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"The current detected Swift compiler version, based on the currently accessible SourceKit version.
","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"The syntax kind associated with is token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"The byte range in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"The starting byte offset in a source file for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"The length in bytes for this token.
","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"The raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"The SwiftLint-specific syntax tokens for this syntax map.
","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.
","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV14ruleIdentifierSSvp":{"name":"ruleIdentifier","abstract":"The identifier of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionSSvp":{"name":"ruleDescription","abstract":"The description of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8ruleNameSSvp":{"name":"ruleName","abstract":"The name of the rule that generated this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"The severity of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"The location of this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"The justification for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"A printable description for this violation.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"Creates a StyleViolation by specifying its properties directly.
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8severityAcA0E8SeverityO_tF":{"name":"with(severity:)","abstract":"Returns the same violation, but with the severity that is passed in
","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8locationAcA8LocationV_tF":{"name":"with(location:)","abstract":"Returns the same violation, but with the location that is passed in
","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"The severity that should be assigned to the violation of this parameter’s value is met.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"The value to configure the rule.
","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"Creates a RuleParameter by specifying its properties directly.
","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"The rules contained in this list.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"Creates a RuleList by specifying all its rules.
","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"
The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"
The RuleKind that best categorizes this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSayAA7ExampleVGvp":{"name":"nonTriggeringExamples","abstract":"Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSayAA7ExampleVGvp":{"name":"triggeringExamples","abstract":"
Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyAA7ExampleVAFGvp":{"name":"corrections","abstract":"
Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"
Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"The oldest version of the Swift compiler supported by this rule.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"
The console-printable string for this description.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSayAA7ExampleVGATSDyA2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"Creates a RuleDescription by specifying all its properties directly.
","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"
The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"
All SwiftLint rule identifiers that are disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"Creates a Region by setting explicit values for all its properties.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"Whether the specific location is contained in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"Whether the specified rule is enabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"Whether the specified rule is disabled in this region.
","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"
The file path on disk for this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"The line offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"The character offset in the file for this location. 1-indexed.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"A lossless printable description of this location.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"The file path for this location relative to the current working directory.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"Creates a Location by specifying its properties directly.
","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"
Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"
The file to lint with this linter.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"Computes or retrieves style violations.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"Computes or retrieves style violations and the time spent executing each rule.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"Applies corrections for all rules to this file, returning performed corrections.
","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"Formats the file associated with this linter.
","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"The file to lint with this linter.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"Whether or not this linter will be used to collect information from several files.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"Creates a Linter by specifying its properties directly.
","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"Returns a linter capable of checking for violations after running each rule’s collection step.
","parent_name":"Linter"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4codeSSvp":{"name":"code","abstract":"The contents of the example
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4files12StaticStringVvp":{"name":"file","abstract":"The path to the file where the example was created
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4lineSuvp":{"name":"line","abstract":"The line in the file where the example was created
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV_4file4lineACSS_s12StaticStringVSutcfc":{"name":"init(_:file:line:)","abstract":"Create a new Example with the specified code, file, and line
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4with4codeACSS_tF":{"name":"with(code:)","abstract":"Returns the same example, but with the code that is passed in
","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV24removingViolationMarkersACyF":{"name":"removingViolationMarkers()","abstract":"Returns a copy of the Example with all instances of the “↓” character removed.
","parent_name":"Example"},"Structs/Example.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Example"},"Structs/Example.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Example"},"Structs/Example.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Example"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"The description of the rule for which this correction was applied.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"The location of the original violation that was corrected.
","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"The console-printable description for this correction.
","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"The command should only apply to the line preceding its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"The command should only apply to the same line as its definition.
","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"The command should only apply to the line following its definition.
","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"The rule(s) associated with this command should be enabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"The rule(s) associated with this command should be disabled by the SwiftLint engine.
","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"The action (verb) that SwiftLint should perform when interpreting this command.
","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"The modifier for a command, used to modify its scope.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"Creates a command based on the specified parameters.
","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"The underlying SourceKitten dictionary.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"The cached substructure for this dictionary. Empty if there is no substructure.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"The kind of Swift expression represented by this dictionary, if it is an expression.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"The kind of Swift declaration represented by this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"The kind of Swift statement represented by this dictionary, if it is a statement.
","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"The accessibility level for this dictionary, if it is a declaration.
","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"Swift source code should be indented using tabs.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"Swift source code should be indented using spaces with count spaces per indentation level.
","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"The default indentation style if none is explicitly provided.
","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"
Only enable the rules explicitly listed.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"Enable all available rules.
","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"Represents how a Configuration object can be configured with regards to rules.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"The standard file name to look for user-defined configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"The style to use when indenting Swift source code.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"Included paths to lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"Excluded paths to not lint.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"The identifier for the Reporter to use to report style violations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"The threshold for the number of warnings to tolerate before treating the lint as having failed.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"The root directory to search for nested configurations.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"The absolute path from where this configuration was loaded from, if any.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"The location of the persisted cache to use whith this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"Creates a Configuration by specifying its properties directly.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"Creates a Configuration with convenience parameters.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"
The style of indentation used in a Swift project.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"Returns the files that can be linted by SwiftLint in the specified parent path.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"Returns an array of file paths after removing the excluded paths as defined by this configuration.
","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"
Creates a Configuration value based on the specified parameters.
","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"Creates a RuleListDocumentation instance from a RuleList.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"Write the rule list documentation as markdown files to the specified directory.
","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"User-facing documentation for a SwiftLint RuleList.
"},"Structs/Configuration.html":{"name":"Configuration","abstract":"The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.
"},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"
A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.
"},"Structs/Correction.html":{"name":"Correction","abstract":"A value describing a SwiftLint violation that was corrected.
"},"Structs/Example.html":{"name":"Example","abstract":"Captures code and context information for an example of a triggering or"},"Structs/Linter.html":{"name":"Linter","abstract":"
Represents a file that can be linted for style violations and corrections after being collected.
"},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"Represents a file that can compute style violations and corrections for a list of rules.
"},"Structs/Location.html":{"name":"Location","abstract":"The placement of a segment of Swift in a collection of source files.
"},"Structs/Region.html":{"name":"Region","abstract":"A contiguous region of Swift source code.
"},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.
"},"Structs/RuleList.html":{"name":"RuleList","abstract":"A list of available SwiftLint rules.
"},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"A configuration parameter for rules.
"},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.
"},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"Represents a Swift file’s syntax information.
"},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"A SwiftLint-aware Swift syntax token.
"},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"A value describing the version of the Swift compiler.
"},"Structs/Version.html":{"name":"Version","abstract":"A type describing the SwiftLint version.
"},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"An interface for parsing YAML.
"},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"Reports violations in SonarQube import format.
"},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"Reports violations in the format Xcode uses to display in the IDE. (default)
"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"A human-readable description for this configuration and its applied values.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"Apply an untyped configuration to the current value.
","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether the specified configuration is equivalent to the current value.
","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"
Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"
The kind of information to collect for each file being linted for this rule.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"Collects information for the specified file, to be analyzed by a CollectedLinter.
","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"
Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"
Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"Returns the NSString-based NSRanges to be replaced in the specified file.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"Returns the substitution to apply for the given range.
","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"Attempts to correct the violations to this rule in the specified file.
","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"
The type of configuration used to configure this rule.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"This rule’s configuration.
","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"A verbose description of many of this rule’s properties.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"A description of how this rule has been configured to run.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"A default initializer for rules. All rules need to be trivially initializable.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"Creates a rule by applying its configuration.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"Executes the rule on a file and returns any violations to the rule’s expectations.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"Whether or not the specified rule is equivalent to the current rule.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.
","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"
The unique identifier for this reporter.
","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"
Return a string with the report for the specified violations.
","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"The kind of token being recursed over.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"
Get the kind from the specified dictionary.
","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"
Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"
Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"
An interface for enumerating files that can be linted by SwiftLint.
"},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"
An interface for reporting violations as strings.
"},"Protocols/Rule.html":{"name":"Rule","abstract":"An executable value that can identify issues (violations) in Swift source code.
"},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.
"},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"A rule that has unit tests automatically generated using Sourcery.
"},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"A rule that is user-configurable.
"},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"A rule that can correct violations.
"},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"
A SubstitutionCorrectableRule that is also an ASTRule.
"},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.
"},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"
Type-erased protocol used to check whether a rule is collectable.
"},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"A rule that requires knowledge of all other files being linted.
"},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"A CollectingRule that is also a CorrectableRule.
"},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"A configuration value for a rule to allow users to modify its behavior.
"},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"A thread-safe version of Swift’s standard print().
"},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"A thread-safe, newline-terminated version of fputs(..., stderr).
"},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"
Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"
Returns a new string, converting the path to a canonical absolute path.
","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.
","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"The rule list contains more than one configuration for the specified rule.
","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"Describes rules that validate Swift source conventions.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"Describes rules that validate common practices in the Swift community.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"Describes rules that validate stylistic choices.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"Describes rules that validate magnitudes or measurements of Swift source.
","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"Describes rules that validate that code patterns with poor performance are avoided.
","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"
Represents a single SwiftLint rule with the specified identifier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"The spelling of the string for this idenfitier.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"Creates a RuleIdentifier by its string representation.
","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"The configuration didn’t match internal expectations.
","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"Accessible by the declaration’s immediate lexical scope.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"Accessible by the declaration’s same file.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"Accessible by the declaration’s same module, or modules importing it with the @testable attribute.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"Accessible by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"Accessible and customizable (via subclassing or overrides) by the declaration’s same program.
","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"A call to a named function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"An argument value for a function or closure.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"An Array expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"A Dictionary expression.
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"An object literal expression. https://developer.apple.com/swift/blog/?id=33
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448
","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"The kind of expression for a contiguous set of Swift source tokens.
"},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"The accessibility of a Swift source declaration.
"},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"All possible configuration errors.
"},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"An identifier representing a SwiftLint rule, or all rules.
"},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"All the possible rule kinds (categories).
"},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"All possible configuration errors.
"},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"The magnitude of a StyleViolation.
"},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"The rule list containing all available rules built into SwiftLint.
"},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"Creates a RuleStorage with no initial stored data.
","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"Creates a LinterCache by specifying a SwiftLint configuration and a file manager.
","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"Persists the cache to disk.
","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"Creates a SwiftLintFile with a SourceKitten File.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"
Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"
Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"The path on disk for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"The file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"A string view into the contents of this file optimized for string manipulation operations.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"The parsed lines for this file’s contents.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"Invalidates all cached data for this file.
","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"A unit of Swift source code, either on disk or in memory.
"},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"A persisted cache for storing and retrieving linter results.
"},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"A storage mechanism for aggregating the results of CollectingRules.
"},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"Reports violations as a newline-separated string of comma-separated values (CSV).
"},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"
Reports violations in the format that’s both fun and easy to read.
"},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.
"},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"Reports violations as HTML.
"},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"Reports violations as a JSON array.
"},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"Reports violations as JUnit XML.
"},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"Reports violations as markdown formated (with tables).
"},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"The following guides are available globally.
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Global%20Variables.html":{"name":"Global Variables","abstract":"The following global variables are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Functions.html":{"name":"Functions","abstract":"The following functions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
diff --git a/shorthand_operator.html b/shorthand_operator.html
index 2d1210050..679bba423 100644
--- a/shorthand_operator.html
+++ b/shorthand_operator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/single_test_class.html b/single_test_class.html
index f2ac493b3..e0e1f5d3b 100644
--- a/single_test_class.html
+++ b/single_test_class.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -331,30 +334,24 @@
Triggering Examples
↓class FooTests: QuickSpec { }
↓class BarTests: QuickSpec { }
-
↓class FooTests: QuickSpec { }
↓class BarTests: QuickSpec { }
↓class TotoTests: QuickSpec { }
-
↓class FooTests: XCTestCase { }
↓class BarTests: XCTestCase { }
-
↓class FooTests: XCTestCase { }
↓class BarTests: XCTestCase { }
↓class TotoTests: XCTestCase { }
-
↓class FooTests: QuickSpec { }
↓class BarTests: XCTestCase { }
-
↓class FooTests: QuickSpec { }
↓class BarTests: XCTestCase { }
class TotoTests { }
-
diff --git a/sorted_first_last.html b/sorted_first_last.html
index b1031bc98..bb72b1190 100644
--- a/sorted_first_last.html
+++ b/sorted_first_last.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/sorted_imports.html b/sorted_imports.html
index 7e0e63a4b..b1c35e308 100644
--- a/sorted_imports.html
+++ b/sorted_imports.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/statement_position.html b/statement_position.html
index 6e6faf3e7..6f9095ab6 100644
--- a/statement_position.html
+++ b/statement_position.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/static_operator.html b/static_operator.html
index a9a7b8e5f..09ac67820 100644
--- a/static_operator.html
+++ b/static_operator.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/strict_fileprivate.html b/strict_fileprivate.html
index 798355404..6a7c034ab 100644
--- a/strict_fileprivate.html
+++ b/strict_fileprivate.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/strong_iboutlet.html b/strong_iboutlet.html
index ba3e5b35b..8ab85cbcc 100644
--- a/strong_iboutlet.html
+++ b/strong_iboutlet.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/superfluous_disable_command.html b/superfluous_disable_command.html
index f78e5d5e6..ce123fb71 100644
--- a/superfluous_disable_command.html
+++ b/superfluous_disable_command.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/switch_case_alignment.html b/switch_case_alignment.html
index 946744095..ad3f93b1c 100644
--- a/switch_case_alignment.html
+++ b/switch_case_alignment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/switch_case_on_newline.html b/switch_case_on_newline.html
index 37bd42c66..cf40f3cc3 100644
--- a/switch_case_on_newline.html
+++ b/switch_case_on_newline.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -347,104 +350,87 @@
}
switch foo {
- case 1:
+ case 1:
return true
}
-
switch foo {
- default:
+ default:
return true
}
-
switch foo {
- case let value:
+ case let value:
return true
}
-
switch foo {
- case .myCase: // error from network
+ case .myCase: // error from network
return true
}
-
switch foo {
- case let .myCase(value) where value > 10:
+ case let .myCase(value) where value > 10:
return false
}
-
switch foo {
- case let .myCase(value)
+ case let .myCase(value)
where value > 10:
return false
}
-
switch foo {
- case let .myCase(code: lhsErrorCode, description: _)
+ case let .myCase(code: lhsErrorCode, description: _)
where lhsErrorCode > 10:
- return false
+return false
}
-
switch foo {
- case #selector(aFunction(_:)):
+ case #selector(aFunction(_:)):
return false
}
-
Triggering Examples
switch foo {
- ↓case 1: return true
+ ↓case 1: return true
}
-
switch foo {
- ↓case let value: return true
+ ↓case let value: return true
}
-
switch foo {
- ↓default: return true
+ ↓default: return true
}
-
switch foo {
- ↓case "a string": return false
+ ↓case "a string": return false
}
-
switch foo {
- ↓case .myCase: return false // error from network
+ ↓case .myCase: return false // error from network
}
-
switch foo {
- ↓case let .myCase(value) where value > 10: return false
+ ↓case let .myCase(value) where value > 10: return false
}
-
switch foo {
- ↓case #selector(aFunction(_:)): return false
+ ↓case #selector(aFunction(_:)): return false
}
-
switch foo {
- ↓case let .myCase(value)
+ ↓case let .myCase(value)
where value > 10: return false
}
-
switch foo {
- ↓case .first,
+ ↓case .first,
.second: return false
}
-
diff --git a/syntactic_sugar.html b/syntactic_sugar.html
index ba33a426d..d9be57a3e 100644
--- a/syntactic_sugar.html
+++ b/syntactic_sugar.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/todo.html b/todo.html
index 551e7f5a0..2d1ebeadc 100644
--- a/todo.html
+++ b/todo.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/toggle_bool.html b/toggle_bool.html
index d27c56c6b..8f9d3b327 100644
--- a/toggle_bool.html
+++ b/toggle_bool.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/trailing_closure.html b/trailing_closure.html
index 3cec4dbd3..1004a36cd 100644
--- a/trailing_closure.html
+++ b/trailing_closure.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/trailing_comma.html b/trailing_comma.html
index 6a87fe51b..156fbbc09 100644
--- a/trailing_comma.html
+++ b/trailing_comma.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/trailing_newline.html b/trailing_newline.html
index 7420c57f2..6d58e75d2 100644
--- a/trailing_newline.html
+++ b/trailing_newline.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/trailing_semicolon.html b/trailing_semicolon.html
index d93493de0..c19bc2e81 100644
--- a/trailing_semicolon.html
+++ b/trailing_semicolon.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/trailing_whitespace.html b/trailing_whitespace.html
index 7d74bcff7..0f07962ff 100644
--- a/trailing_whitespace.html
+++ b/trailing_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/type_body_length.html b/type_body_length.html
index 05204e415..7429e174d 100644
--- a/type_body_length.html
+++ b/type_body_length.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/type_contents_order.html b/type_contents_order.html
index 5337bf805..6f26172e9 100644
--- a/type_contents_order.html
+++ b/type_contents_order.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -415,7 +418,7 @@
deinit {
log.debug("deinit")
- }
+ },
}
Triggering Examples
diff --git a/type_name.html b/type_name.html
index cd05a2b99..d46d162f1 100644
--- a/type_name.html
+++ b/type_name.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unavailable_function.html b/unavailable_function.html
index 533df2028..f9341e36f 100644
--- a/unavailable_function.html
+++ b/unavailable_function.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unneeded_break_in_switch.html b/unneeded_break_in_switch.html
index 88b9336f5..a167b024c 100644
--- a/unneeded_break_in_switch.html
+++ b/unneeded_break_in_switch.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unneeded_parentheses_in_closure_argument.html b/unneeded_parentheses_in_closure_argument.html
index a2901dbdf..3daf54c10 100644
--- a/unneeded_parentheses_in_closure_argument.html
+++ b/unneeded_parentheses_in_closure_argument.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unowned_variable_capture.html b/unowned_variable_capture.html
index d6b4b39f7..68d223684 100644
--- a/unowned_variable_capture.html
+++ b/unowned_variable_capture.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/untyped_error_in_catch.html b/untyped_error_in_catch.html
index d12ed26f5..4117bad18 100644
--- a/untyped_error_in_catch.html
+++ b/untyped_error_in_catch.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_capture_list.html b/unused_capture_list.html
index 42dcb42d1..a9e9268f0 100644
--- a/unused_capture_list.html
+++ b/unused_capture_list.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_closure_parameter.html b/unused_closure_parameter.html
index 870be513f..858789a8d 100644
--- a/unused_closure_parameter.html
+++ b/unused_closure_parameter.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_control_flow_label.html b/unused_control_flow_label.html
index 89401c2c8..34f607913 100644
--- a/unused_control_flow_label.html
+++ b/unused_control_flow_label.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_declaration.html b/unused_declaration.html
index 1fcf970c4..8abfd0c4d 100644
--- a/unused_declaration.html
+++ b/unused_declaration.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_enumerated.html b/unused_enumerated.html
index 5ef2ad6fe..c8cd2436c 100644
--- a/unused_enumerated.html
+++ b/unused_enumerated.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_import.html b/unused_import.html
index 244914d99..5103cb494 100644
--- a/unused_import.html
+++ b/unused_import.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_optional_binding.html b/unused_optional_binding.html
index ae2162a24..282ffd428 100644
--- a/unused_optional_binding.html
+++ b/unused_optional_binding.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/unused_setter_value.html b/unused_setter_value.html
index 4e739097a..9dbfd23ce 100644
--- a/unused_setter_value.html
+++ b/unused_setter_value.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/valid_ibinspectable.html b/valid_ibinspectable.html
index 25e748b55..89d92c4fd 100644
--- a/valid_ibinspectable.html
+++ b/valid_ibinspectable.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/vertical_parameter_alignment.html b/vertical_parameter_alignment.html
index 3583e10b4..b878a5ed4 100644
--- a/vertical_parameter_alignment.html
+++ b/vertical_parameter_alignment.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -321,44 +324,35 @@
Non Triggering Examples
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary) { }
-
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary) -> [StyleViolation]
-
func foo(bar: Int)
-
-func foo(bar: Int) -> String
-
+func foo(bar: Int) -> String
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary)
-> [StyleViolation]
-
func validateFunction(
_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary) -> [StyleViolation]
-
func validateFunction(
_ file: SwiftLintFile, kind: SwiftDeclarationKind,
dictionary: SourceKittenDictionary
) -> [StyleViolation]
-
func regex(_ pattern: String,
options: NSRegularExpression.Options = [.anchorsMatchLines,
.dotMatchesLineSeparators]) -> NSRegularExpression
-
func foo(a: Void,
b: [String: String] =
- [:]) {
+ [:]) {
}
-
func foo(data: (size: CGSize,
identifier: String)) {}
@@ -369,16 +363,13 @@
Triggering Examples
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
↓dictionary: SourceKittenDictionary) { }
-
func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
↓dictionary: SourceKittenDictionary) { }
-
func validateFunction(_ file: SwiftLintFile,
↓kind: SwiftDeclarationKind,
↓dictionary: SourceKittenDictionary) { }
-
func foo(data: Data,
↓@ViewBuilder content: @escaping (Data.Element.IdentifiedValue) -> Content) {}
diff --git a/vertical_parameter_alignment_on_call.html b/vertical_parameter_alignment_on_call.html
index 32b399e82..438f0e7da 100644
--- a/vertical_parameter_alignment_on_call.html
+++ b/vertical_parameter_alignment_on_call.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/vertical_whitespace.html b/vertical_whitespace.html
index 559241d1b..448367bf0 100644
--- a/vertical_whitespace.html
+++ b/vertical_whitespace.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/vertical_whitespace_between_cases.html b/vertical_whitespace_between_cases.html
index 283bf66db..a398cf4ff 100644
--- a/vertical_whitespace_between_cases.html
+++ b/vertical_whitespace_between_cases.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/vertical_whitespace_closing_braces.html b/vertical_whitespace_closing_braces.html
index dbe5421da..f4df2ff86 100644
--- a/vertical_whitespace_closing_braces.html
+++ b/vertical_whitespace_closing_braces.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/vertical_whitespace_opening_braces.html b/vertical_whitespace_opening_braces.html
index b29cccbec..5f11ce3fe 100644
--- a/vertical_whitespace_opening_braces.html
+++ b/vertical_whitespace_opening_braces.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/void_return.html b/void_return.html
index 9fcfdb6f8..8be427f45 100644
--- a/void_return.html
+++ b/void_return.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/weak_delegate.html b/weak_delegate.html
index eb9ead0b1..0cf5f048a 100644
--- a/weak_delegate.html
+++ b/weak_delegate.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/xct_specific_matcher.html b/xct_specific_matcher.html
index 953200109..5ef33c3aa 100644
--- a/xct_specific_matcher.html
+++ b/xct_specific_matcher.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
@@ -349,7 +352,7 @@
XCTAssertEqual(2, foo)
-XCTAssertNotEqual("false", foo)
+XCTAssertNotEqual("false"), foo)
XCTAssertEqual(false, foo?.bar)
diff --git a/xctfail_message.html b/xctfail_message.html
index 3e0e3d38b..41b0078f6 100644
--- a/xctfail_message.html
+++ b/xctfail_message.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter
diff --git a/yoda_condition.html b/yoda_condition.html
index 64df0662b..0c8f32ee8 100644
--- a/yoda_condition.html
+++ b/yoda_condition.html
@@ -248,6 +248,9 @@
Correction
+
+ Example
+
Linter