From 1a2f002ab809b220e41eaf13dca733a3cb329487 Mon Sep 17 00:00:00 2001 From: "swiftlintbot@jpsim.com" Date: Tue, 10 Jan 2023 21:47:06 +0000 Subject: [PATCH] Automated deployment to GitHub Pages: 74dbd52adda90eee0313654d876fdf88c8325552 --- Global Variables.html | 4 +- Structs.html | 2 +- Structs/StyleViolation.html | 11 +-- accessibility_label_for_image.html | 2 +- accessibility_trait_for_button.html | 2 +- anyobject_protocol.html | 2 +- array_init.html | 2 +- attributes.html | 2 +- balanced_xctest_lifecycle.html | 2 +- block_based_kvo.html | 2 +- capture_variable.html | 2 +- class_delegate_protocol.html | 2 +- closing_brace.html | 2 +- closure_body_length.html | 2 +- closure_parameter_position.html | 2 +- closure_spacing.html | 2 +- colon.html | 2 +- comma.html | 2 +- comment_spacing.html | 2 +- contains_over_filter_count.html | 2 +- contains_over_range_nil_comparison.html | 2 +- control_statement.html | 2 +- convenience_type.html | 2 +- discarded_notification_center_observer.html | 2 +- discouraged_direct_init.html | 2 +- discouraged_none_name.html | 2 +- discouraged_object_literal.html | 2 +- discouraged_optional_boolean.html | 2 +- discouraged_optional_collection.html | 2 +- .../Resources/Documents/Global Variables.html | 4 +- .../Contents/Resources/Documents/Structs.html | 2 +- .../Documents/Structs/StyleViolation.html | 11 +-- .../accessibility_label_for_image.html | 2 +- .../accessibility_trait_for_button.html | 2 +- .../Documents/anyobject_protocol.html | 2 +- .../Resources/Documents/array_init.html | 2 +- .../Resources/Documents/attributes.html | 2 +- .../Documents/balanced_xctest_lifecycle.html | 2 +- .../Resources/Documents/block_based_kvo.html | 2 +- .../Resources/Documents/capture_variable.html | 2 +- .../Documents/class_delegate_protocol.html | 2 +- .../Resources/Documents/closing_brace.html | 2 +- .../Documents/closure_body_length.html | 2 +- .../Documents/closure_parameter_position.html | 2 +- .../Resources/Documents/closure_spacing.html | 2 +- .../Contents/Resources/Documents/colon.html | 2 +- .../Contents/Resources/Documents/comma.html | 2 +- .../Resources/Documents/comment_spacing.html | 2 +- .../Documents/contains_over_filter_count.html | 2 +- .../contains_over_range_nil_comparison.html | 2 +- .../Documents/control_statement.html | 2 +- .../Resources/Documents/convenience_type.html | 2 +- ...iscarded_notification_center_observer.html | 2 +- .../Documents/discouraged_direct_init.html | 2 +- .../Documents/discouraged_none_name.html | 2 +- .../Documents/discouraged_object_literal.html | 2 +- .../discouraged_optional_boolean.html | 2 +- .../discouraged_optional_collection.html | 2 +- .../Documents/duplicate_enum_cases.html | 2 +- .../Documents/duplicate_imports.html | 2 +- .../duplicated_key_in_dictionary_literal.html | 2 +- .../Resources/Documents/dynamic_inline.html | 2 +- .../Documents/empty_collection_literal.html | 2 +- .../Resources/Documents/empty_count.html | 2 +- .../Documents/empty_enum_arguments.html | 2 +- .../Resources/Documents/empty_parameters.html | 2 +- ...pty_parentheses_with_trailing_closure.html | 2 +- .../Resources/Documents/empty_string.html | 2 +- .../Documents/empty_xctest_method.html | 2 +- .../enum_case_associated_values_count.html | 2 +- .../Resources/Documents/explicit_acl.html | 2 +- .../Documents/explicit_enum_raw_value.html | 2 +- .../Resources/Documents/explicit_init.html | 2 +- .../Resources/Documents/explicit_self.html | 2 +- .../Documents/explicit_top_level_acl.html | 2 +- .../Resources/Documents/fallthrough.html | 2 +- .../Documents/fatal_error_message.html | 2 +- .../Resources/Documents/file_name.html | 2 +- .../Documents/file_name_no_space.html | 2 +- .../Resources/Documents/first_where.html | 2 +- .../Documents/flatmap_over_map_reduce.html | 2 +- .../Resources/Documents/for_where.html | 2 +- .../Resources/Documents/force_cast.html | 2 +- .../Resources/Documents/force_try.html | 2 +- .../Resources/Documents/force_unwrapping.html | 2 +- .../Documents/function_body_length.html | 2 +- .../function_default_parameter_at_end.html | 2 +- .../Documents/ibinspectable_in_extension.html | 2 +- .../Documents/identical_operands.html | 2 +- .../Resources/Documents/implicit_return.html | 2 +- .../implicitly_unwrapped_optional.html | 2 +- .../Documents/inclusive_language.html | 2 +- .../Resources/Documents/inert_defer.html | 2 +- .../Resources/Documents/is_disjoint.html | 2 +- .../Documents/joined_default_parameter.html | 2 +- .../Resources/Documents/last_where.html | 2 +- .../Documents/leading_whitespace.html | 2 +- .../Resources/Documents/legacy_constant.html | 2 +- .../Documents/legacy_constructor.html | 2 +- .../Resources/Documents/legacy_multiple.html | 2 +- .../Resources/Documents/legacy_random.html | 2 +- .../Documents/let_var_whitespace.html | 2 +- .../literal_expression_end_indentation.html | 2 +- .../Documents/local_doc_comment.html | 2 +- .../Documents/multiline_arguments.html | 2 +- .../multiline_arguments_brackets.html | 2 +- .../Documents/multiline_function_chains.html | 2 +- .../Documents/multiline_literal_brackets.html | 2 +- .../Documents/multiline_parameters.html | 2 +- .../multiline_parameters_brackets.html | 2 +- ...ltiple_closures_with_trailing_closure.html | 2 +- .../Resources/Documents/nimble_operator.html | 2 +- .../Documents/no_fallthrough_only.html | 2 +- .../Documents/no_grouping_extension.html | 2 +- .../Resources/Documents/no_magic_numbers.html | 2 +- .../Documents/no_space_in_method_call.html | 2 +- .../notification_center_detachment.html | 2 +- .../ns_number_init_as_function_reference.html | 2 +- .../Documents/nslocalizedstring_key.html | 2 +- .../nslocalizedstring_require_bundle.html | 2 +- .../Documents/nsobject_prefer_isequal.html | 2 +- .../Resources/Documents/number_separator.html | 2 +- .../Resources/Documents/object_literal.html | 2 +- .../Resources/Documents/opening_brace.html | 2 +- .../Documents/operator_usage_whitespace.html | 2 +- .../Documents/operator_whitespace.html | 2 +- .../optional_enum_case_matching.html | 2 +- .../Documents/orphaned_doc_comment.html | 2 +- .../Documents/overridden_super_call.html | 2 +- .../Documents/override_in_extension.html | 2 +- .../Documents/pattern_matching_keywords.html | 2 +- .../Resources/Documents/period_spacing.html | 2 +- .../Resources/Documents/prefer_nimble.html | 2 +- .../prefer_self_in_static_references.html | 2 +- .../prefer_self_type_over_type_of_self.html | 2 +- .../Documents/prefixed_toplevel_constant.html | 2 +- .../Resources/Documents/private_action.html | 2 +- .../Resources/Documents/private_outlet.html | 2 +- .../Documents/private_over_fileprivate.html | 2 +- .../Resources/Documents/private_subject.html | 2 +- .../Documents/private_unit_test.html | 2 +- .../prohibited_interface_builder.html | 2 +- .../Documents/prohibited_super_call.html | 2 +- .../protocol_property_accessors_order.html | 2 +- .../quick_discouraged_focused_test.html | 2 +- .../quick_discouraged_pending_test.html | 2 +- ...aw_value_for_camel_cased_codable_enum.html | 2 +- .../Resources/Documents/reduce_boolean.html | 2 +- .../Documents/redundant_discardable_let.html | 2 +- .../Documents/redundant_objc_attribute.html | 2 +- .../redundant_optional_initialization.html | 2 +- .../redundant_set_access_control.html | 2 +- .../redundant_string_enum_value.html | 2 +- .../Documents/redundant_void_return.html | 2 +- .../Resources/Documents/required_deinit.html | 2 +- .../Documents/return_arrow_whitespace.html | 2 +- .../return_value_from_void_function.html | 2 +- .../Contents/Resources/Documents/search.json | 2 +- .../self_in_property_initialization.html | 2 +- .../Documents/shorthand_operator.html | 2 +- .../Resources/Documents/sorted_imports.html | 2 +- .../Documents/statement_position.html | 2 +- .../Resources/Documents/static_operator.html | 2 +- .../Documents/strict_fileprivate.html | 2 +- .../Resources/Documents/strong_iboutlet.html | 2 +- .../Documents/test_case_accessibility.html | 2 +- .../Resources/Documents/toggle_bool.html | 2 +- .../Resources/Documents/trailing_closure.html | 2 +- .../Resources/Documents/trailing_newline.html | 2 +- .../Documents/trailing_semicolon.html | 2 +- .../Documents/trailing_whitespace.html | 2 +- .../Resources/Documents/type_body_length.html | 2 +- .../Documents/typesafe_array_init.html | 2 +- .../Documents/unavailable_function.html | 2 +- .../Documents/unneeded_break_in_switch.html | 2 +- ...eeded_parentheses_in_closure_argument.html | 2 +- .../Documents/unowned_variable_capture.html | 2 +- .../Documents/untyped_error_in_catch.html | 2 +- .../Documents/unused_capture_list.html | 2 +- .../Documents/unused_closure_parameter.html | 2 +- .../Documents/unused_control_flow_label.html | 2 +- .../Documents/unused_declaration.html | 2 +- .../Resources/Documents/unused_import.html | 2 +- .../Documents/unused_setter_value.html | 2 +- .../vertical_parameter_alignment.html | 2 +- .../vertical_parameter_alignment_on_call.html | 2 +- .../vertical_whitespace_between_cases.html | 2 +- .../vertical_whitespace_closing_braces.html | 82 +++++++++--------- .../vertical_whitespace_opening_braces.html | 2 +- .../Documents/void_function_in_ternary.html | 2 +- .../Resources/Documents/void_return.html | 2 +- .../Resources/Documents/weak_delegate.html | 2 +- .../Documents/xct_specific_matcher.html | 2 +- .../Resources/Documents/xctfail_message.html | 2 +- .../Resources/Documents/yoda_condition.html | 2 +- docsets/SwiftLintFramework.tgz | Bin 480256 -> 480183 bytes duplicate_enum_cases.html | 2 +- duplicate_imports.html | 2 +- duplicated_key_in_dictionary_literal.html | 2 +- dynamic_inline.html | 2 +- empty_collection_literal.html | 2 +- empty_count.html | 2 +- empty_enum_arguments.html | 2 +- empty_parameters.html | 2 +- empty_parentheses_with_trailing_closure.html | 2 +- empty_string.html | 2 +- empty_xctest_method.html | 2 +- enum_case_associated_values_count.html | 2 +- explicit_acl.html | 2 +- explicit_enum_raw_value.html | 2 +- explicit_init.html | 2 +- explicit_self.html | 2 +- explicit_top_level_acl.html | 2 +- fallthrough.html | 2 +- fatal_error_message.html | 2 +- file_name.html | 2 +- file_name_no_space.html | 2 +- first_where.html | 2 +- flatmap_over_map_reduce.html | 2 +- for_where.html | 2 +- force_cast.html | 2 +- force_try.html | 2 +- force_unwrapping.html | 2 +- function_body_length.html | 2 +- function_default_parameter_at_end.html | 2 +- ibinspectable_in_extension.html | 2 +- identical_operands.html | 2 +- implicit_return.html | 2 +- implicitly_unwrapped_optional.html | 2 +- inclusive_language.html | 2 +- inert_defer.html | 2 +- is_disjoint.html | 2 +- joined_default_parameter.html | 2 +- last_where.html | 2 +- leading_whitespace.html | 2 +- legacy_constant.html | 2 +- legacy_constructor.html | 2 +- legacy_multiple.html | 2 +- legacy_random.html | 2 +- let_var_whitespace.html | 2 +- literal_expression_end_indentation.html | 2 +- local_doc_comment.html | 2 +- multiline_arguments.html | 2 +- multiline_arguments_brackets.html | 2 +- multiline_function_chains.html | 2 +- multiline_literal_brackets.html | 2 +- multiline_parameters.html | 2 +- multiline_parameters_brackets.html | 2 +- multiple_closures_with_trailing_closure.html | 2 +- nimble_operator.html | 2 +- no_fallthrough_only.html | 2 +- no_grouping_extension.html | 2 +- no_magic_numbers.html | 2 +- no_space_in_method_call.html | 2 +- notification_center_detachment.html | 2 +- ns_number_init_as_function_reference.html | 2 +- nslocalizedstring_key.html | 2 +- nslocalizedstring_require_bundle.html | 2 +- nsobject_prefer_isequal.html | 2 +- number_separator.html | 2 +- object_literal.html | 2 +- opening_brace.html | 2 +- operator_usage_whitespace.html | 2 +- operator_whitespace.html | 2 +- optional_enum_case_matching.html | 2 +- orphaned_doc_comment.html | 2 +- overridden_super_call.html | 2 +- override_in_extension.html | 2 +- pattern_matching_keywords.html | 2 +- period_spacing.html | 2 +- prefer_nimble.html | 2 +- prefer_self_in_static_references.html | 2 +- prefer_self_type_over_type_of_self.html | 2 +- prefixed_toplevel_constant.html | 2 +- private_action.html | 2 +- private_outlet.html | 2 +- private_over_fileprivate.html | 2 +- private_subject.html | 2 +- private_unit_test.html | 2 +- prohibited_interface_builder.html | 2 +- prohibited_super_call.html | 2 +- protocol_property_accessors_order.html | 2 +- quick_discouraged_focused_test.html | 2 +- quick_discouraged_pending_test.html | 2 +- raw_value_for_camel_cased_codable_enum.html | 2 +- reduce_boolean.html | 2 +- redundant_discardable_let.html | 2 +- redundant_objc_attribute.html | 2 +- redundant_optional_initialization.html | 2 +- redundant_set_access_control.html | 2 +- redundant_string_enum_value.html | 2 +- redundant_void_return.html | 2 +- required_deinit.html | 2 +- return_arrow_whitespace.html | 2 +- return_value_from_void_function.html | 2 +- search.json | 2 +- self_in_property_initialization.html | 2 +- shorthand_operator.html | 2 +- sorted_imports.html | 2 +- statement_position.html | 2 +- static_operator.html | 2 +- strict_fileprivate.html | 2 +- strong_iboutlet.html | 2 +- test_case_accessibility.html | 2 +- toggle_bool.html | 2 +- trailing_closure.html | 2 +- trailing_newline.html | 2 +- trailing_semicolon.html | 2 +- trailing_whitespace.html | 2 +- type_body_length.html | 2 +- typesafe_array_init.html | 2 +- unavailable_function.html | 2 +- unneeded_break_in_switch.html | 2 +- unneeded_parentheses_in_closure_argument.html | 2 +- unowned_variable_capture.html | 2 +- untyped_error_in_catch.html | 2 +- unused_capture_list.html | 2 +- unused_closure_parameter.html | 2 +- unused_control_flow_label.html | 2 +- unused_declaration.html | 2 +- unused_import.html | 2 +- unused_setter_value.html | 2 +- vertical_parameter_alignment.html | 2 +- vertical_parameter_alignment_on_call.html | 2 +- vertical_whitespace_between_cases.html | 2 +- vertical_whitespace_closing_braces.html | 82 +++++++++--------- vertical_whitespace_opening_braces.html | 2 +- void_function_in_ternary.html | 2 +- void_return.html | 2 +- weak_delegate.html | 2 +- xct_specific_matcher.html | 2 +- xctfail_message.html | 2 +- yoda_condition.html | 2 +- 333 files changed, 424 insertions(+), 422 deletions(-) diff --git a/Global Variables.html b/Global Variables.html index b59ce3120..09a9c0eed 100644 --- a/Global Variables.html +++ b/Global Variables.html @@ -337,7 +337,7 @@
-

The rule list containing all available rules built into SwiftLint.

+

The rule list containing all available rules built into SwiftLint as well as native custom rules.

@@ -349,7 +349,7 @@
diff --git a/Structs.html b/Structs.html index 6ed7c4d2e..72c67f587 100644 --- a/Structs.html +++ b/Structs.html @@ -731,7 +731,7 @@ non-triggering style

- Show on GitHub + Show on GitHub
diff --git a/Structs/StyleViolation.html b/Structs/StyleViolation.html index 6375649bb..b195aefc5 100644 --- a/Structs/StyleViolation.html +++ b/Structs/StyleViolation.html @@ -325,7 +325,7 @@

A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.

- Show on GitHub + Show on GitHub
@@ -619,7 +619,8 @@
-

The justification for this violation.

+

The justification for this violation. If not specified the rule’s description will + be used.

@@ -627,7 +628,7 @@
- Show on GitHub + Show on GitHub
@@ -676,7 +677,7 @@
- Show on GitHub + Show on GitHub
@@ -725,7 +726,7 @@
- Show on GitHub + Show on GitHub
diff --git a/accessibility_label_for_image.html b/accessibility_label_for_image.html index b4062ce3d..28c861934 100644 --- a/accessibility_label_for_image.html +++ b/accessibility_label_for_image.html @@ -316,7 +316,7 @@

Accessibility Label for Image

-

All Images that provide context should have an accessibility label. Purely decorative images can be hidden from accessibility.

+

Images that provide context should have an accessibility label or should be explicitly hidden from accessibility