From 069971bb750018f3c369911cc3f5e7fc2e5a9950 Mon Sep 17 00:00:00 2001 From: "swiftlintbot@jpsim.com" Date: Sun, 14 May 2023 18:11:11 +0000 Subject: [PATCH] Automated deployment to GitHub Pages: 405113f79370b1d1d3ae8472637f3cca302e58c1 --- Classes.html | 4 +- Classes/CustomRuleTimer.html | 4 +- Classes/LinterCache.html | 4 +- Classes/RuleRegistry.html | 4 +- Classes/RuleStorage.html | 4 +- Classes/SwiftLintFile.html | 4 +- Classes/ViolationsSyntaxVisitor.html | 4 +- Enums.html | 18 ++-- Enums/AccessControlLevel.html | 4 +- Enums/ExecutableInfo.html | 4 +- Enums/{ConfigurationError.html => Issue.html} | 86 ++++++++++++------ Enums/RuleIdentifier.html | 4 +- Enums/RuleKind.html | 4 +- Enums/RuleListError.html | 4 +- Enums/SwiftExpressionKind.html | 4 +- Enums/ViolationSeverity.html | 4 +- Extensions.html | 4 +- Extensions/Array.html | 4 +- Functions.html | 4 +- Global Variables.html | 4 +- Guides.html | 4 +- Protocols.html | 4 +- Protocols/ASTRule.html | 4 +- Protocols/AnalyzerRule.html | 4 +- Protocols/CacheDescriptionProvider.html | 4 +- Protocols/CollectingRule.html | 4 +- Protocols/ConfigurationProviderRule.html | 4 +- Protocols/CorrectableRule.html | 4 +- Protocols/Reporter.html | 4 +- Protocols/Rule.html | 4 +- Protocols/RuleConfiguration.html | 4 +- Protocols/SeverityBasedRuleConfiguration.html | 4 +- Protocols/SubstitutionCorrectableASTRule.html | 4 +- Protocols/SubstitutionCorrectableRule.html | 4 +- Protocols/SwiftSyntaxCorrectableRule.html | 4 +- Protocols/SwiftSyntaxRule.html | 4 +- Protocols/ViolationsSyntaxRewriter.html | 4 +- Reporters.html | 4 +- Rules.html | 4 +- Structs.html | 8 +- Structs/CSVReporter.html | 4 +- Structs/CheckstyleReporter.html | 4 +- Structs/CodeClimateReporter.html | 4 +- Structs/CollectedLinter.html | 4 +- Structs/Command.html | 4 +- Structs/Command/Action.html | 4 +- Structs/Command/Modifier.html | 4 +- Structs/Configuration.html | 4 +- Structs/Correction.html | 4 +- Structs/EmojiReporter.html | 4 +- Structs/Example.html | 4 +- Structs/GitHubActionsLoggingReporter.html | 4 +- Structs/GitLabJUnitReporter.html | 4 +- Structs/HTMLReporter.html | 4 +- Structs/JSONReporter.html | 4 +- Structs/JUnitReporter.html | 4 +- Structs/Linter.html | 4 +- Structs/Location.html | 4 +- Structs/MarkdownReporter.html | 4 +- Structs/ReasonedRuleViolation.html | 4 +- Structs/RegexConfiguration.html | 6 +- Structs/Region.html | 4 +- Structs/RelativePathReporter.html | 4 +- Structs/RuleDescription.html | 4 +- Structs/RuleList.html | 4 +- Structs/RuleListDocumentation.html | 4 +- Structs/RuleParameter.html | 4 +- Structs/SeverityConfiguration.html | 4 +- Structs/SeverityLevelsConfiguration.html | 4 +- Structs/SonarQubeReporter.html | 4 +- Structs/Stack.html | 4 +- Structs/StyleViolation.html | 4 +- Structs/SummaryReporter.html | 4 +- Structs/SwiftLintSyntaxMap.html | 4 +- Structs/SwiftLintSyntaxToken.html | 4 +- Structs/SwiftVersion.html | 4 +- Structs/Version.html | 4 +- Structs/XcodeReporter.html | 4 +- Structs/YamlParser.html | 8 +- accessibility_label_for_image.html | 4 +- accessibility_trait_for_button.html | 4 +- anonymous_argument_in_multiline_closure.html | 4 +- anyobject_protocol.html | 4 +- array_init.html | 4 +- attributes.html | 4 +- balanced_xctest_lifecycle.html | 4 +- blanket_disable_command.html | 4 +- block_based_kvo.html | 4 +- capture_variable.html | 4 +- class_delegate_protocol.html | 4 +- closing_brace.html | 4 +- closure_body_length.html | 4 +- closure_end_indentation.html | 4 +- closure_parameter_position.html | 4 +- closure_spacing.html | 4 +- collection_alignment.html | 4 +- colon.html | 4 +- comma.html | 4 +- comma_inheritance.html | 4 +- comment_spacing.html | 4 +- compiler_protocol_init.html | 4 +- computed_accessors_order.html | 4 +- conditional_returns_on_newline.html | 4 +- contains_over_filter_count.html | 4 +- contains_over_filter_is_empty.html | 4 +- contains_over_first_not_nil.html | 4 +- contains_over_range_nil_comparison.html | 4 +- control_statement.html | 4 +- convenience_type.html | 4 +- custom_rules.html | 4 +- cyclomatic_complexity.html | 4 +- deployment_target.html | 4 +- direct_return.html | 4 +- discarded_notification_center_observer.html | 4 +- discouraged_assert.html | 4 +- discouraged_direct_init.html | 4 +- discouraged_none_name.html | 4 +- discouraged_object_literal.html | 4 +- discouraged_optional_boolean.html | 4 +- discouraged_optional_collection.html | 4 +- .../Contents/Resources/Documents/Classes.html | 4 +- .../Documents/Classes/CustomRuleTimer.html | 4 +- .../Documents/Classes/LinterCache.html | 4 +- .../Documents/Classes/RuleRegistry.html | 4 +- .../Documents/Classes/RuleStorage.html | 4 +- .../Documents/Classes/SwiftLintFile.html | 4 +- .../Classes/ViolationsSyntaxVisitor.html | 4 +- .../Contents/Resources/Documents/Enums.html | 18 ++-- .../Documents/Enums/AccessControlLevel.html | 4 +- .../Documents/Enums/ExecutableInfo.html | 4 +- .../{ConfigurationError.html => Issue.html} | 86 ++++++++++++------ .../Documents/Enums/RuleIdentifier.html | 4 +- .../Resources/Documents/Enums/RuleKind.html | 4 +- .../Documents/Enums/RuleListError.html | 4 +- .../Documents/Enums/SwiftExpressionKind.html | 4 +- .../Documents/Enums/ViolationSeverity.html | 4 +- .../Resources/Documents/Extensions.html | 4 +- .../Resources/Documents/Extensions/Array.html | 4 +- .../Resources/Documents/Functions.html | 4 +- .../Resources/Documents/Global Variables.html | 4 +- .../Contents/Resources/Documents/Guides.html | 4 +- .../Resources/Documents/Protocols.html | 4 +- .../Documents/Protocols/ASTRule.html | 4 +- .../Documents/Protocols/AnalyzerRule.html | 4 +- .../Protocols/CacheDescriptionProvider.html | 4 +- .../Documents/Protocols/CollectingRule.html | 4 +- .../Protocols/ConfigurationProviderRule.html | 4 +- .../Documents/Protocols/CorrectableRule.html | 4 +- .../Documents/Protocols/Reporter.html | 4 +- .../Resources/Documents/Protocols/Rule.html | 4 +- .../Protocols/RuleConfiguration.html | 4 +- .../SeverityBasedRuleConfiguration.html | 4 +- .../SubstitutionCorrectableASTRule.html | 4 +- .../SubstitutionCorrectableRule.html | 4 +- .../Protocols/SwiftSyntaxCorrectableRule.html | 4 +- .../Documents/Protocols/SwiftSyntaxRule.html | 4 +- .../Protocols/ViolationsSyntaxRewriter.html | 4 +- .../Resources/Documents/Reporters.html | 4 +- .../Contents/Resources/Documents/Rules.html | 4 +- .../Contents/Resources/Documents/Structs.html | 8 +- .../Documents/Structs/CSVReporter.html | 4 +- .../Documents/Structs/CheckstyleReporter.html | 4 +- .../Structs/CodeClimateReporter.html | 4 +- .../Documents/Structs/CollectedLinter.html | 4 +- .../Resources/Documents/Structs/Command.html | 4 +- .../Documents/Structs/Command/Action.html | 4 +- .../Documents/Structs/Command/Modifier.html | 4 +- .../Documents/Structs/Configuration.html | 4 +- .../Documents/Structs/Correction.html | 4 +- .../Documents/Structs/EmojiReporter.html | 4 +- .../Resources/Documents/Structs/Example.html | 4 +- .../Structs/GitHubActionsLoggingReporter.html | 4 +- .../Structs/GitLabJUnitReporter.html | 4 +- .../Documents/Structs/HTMLReporter.html | 4 +- .../Documents/Structs/JSONReporter.html | 4 +- .../Documents/Structs/JUnitReporter.html | 4 +- .../Resources/Documents/Structs/Linter.html | 4 +- .../Resources/Documents/Structs/Location.html | 4 +- .../Documents/Structs/MarkdownReporter.html | 4 +- .../Structs/ReasonedRuleViolation.html | 4 +- .../Documents/Structs/RegexConfiguration.html | 6 +- .../Resources/Documents/Structs/Region.html | 4 +- .../Structs/RelativePathReporter.html | 4 +- .../Documents/Structs/RuleDescription.html | 4 +- .../Resources/Documents/Structs/RuleList.html | 4 +- .../Structs/RuleListDocumentation.html | 4 +- .../Documents/Structs/RuleParameter.html | 4 +- .../Structs/SeverityConfiguration.html | 4 +- .../Structs/SeverityLevelsConfiguration.html | 4 +- .../Documents/Structs/SonarQubeReporter.html | 4 +- .../Resources/Documents/Structs/Stack.html | 4 +- .../Documents/Structs/StyleViolation.html | 4 +- .../Documents/Structs/SummaryReporter.html | 4 +- .../Documents/Structs/SwiftLintSyntaxMap.html | 4 +- .../Structs/SwiftLintSyntaxToken.html | 4 +- .../Documents/Structs/SwiftVersion.html | 4 +- .../Resources/Documents/Structs/Version.html | 4 +- .../Documents/Structs/XcodeReporter.html | 4 +- .../Documents/Structs/YamlParser.html | 8 +- .../accessibility_label_for_image.html | 4 +- .../accessibility_trait_for_button.html | 4 +- ...onymous_argument_in_multiline_closure.html | 4 +- .../Documents/anyobject_protocol.html | 4 +- .../Resources/Documents/array_init.html | 4 +- .../Resources/Documents/attributes.html | 4 +- .../Documents/balanced_xctest_lifecycle.html | 4 +- .../Documents/blanket_disable_command.html | 4 +- .../Resources/Documents/block_based_kvo.html | 4 +- .../Resources/Documents/capture_variable.html | 4 +- .../Documents/class_delegate_protocol.html | 4 +- .../Resources/Documents/closing_brace.html | 4 +- .../Documents/closure_body_length.html | 4 +- .../Documents/closure_end_indentation.html | 4 +- .../Documents/closure_parameter_position.html | 4 +- .../Resources/Documents/closure_spacing.html | 4 +- .../Documents/collection_alignment.html | 4 +- .../Contents/Resources/Documents/colon.html | 4 +- .../Contents/Resources/Documents/comma.html | 4 +- .../Documents/comma_inheritance.html | 4 +- .../Resources/Documents/comment_spacing.html | 4 +- .../Documents/compiler_protocol_init.html | 4 +- .../Documents/computed_accessors_order.html | 4 +- .../conditional_returns_on_newline.html | 4 +- .../Documents/contains_over_filter_count.html | 4 +- .../contains_over_filter_is_empty.html | 4 +- .../contains_over_first_not_nil.html | 4 +- .../contains_over_range_nil_comparison.html | 4 +- .../Documents/control_statement.html | 4 +- .../Resources/Documents/convenience_type.html | 4 +- .../Resources/Documents/custom_rules.html | 4 +- .../Documents/cyclomatic_complexity.html | 4 +- .../Documents/deployment_target.html | 4 +- .../Resources/Documents/direct_return.html | 4 +- ...iscarded_notification_center_observer.html | 4 +- .../Documents/discouraged_assert.html | 4 +- .../Documents/discouraged_direct_init.html | 4 +- .../Documents/discouraged_none_name.html | 4 +- .../Documents/discouraged_object_literal.html | 4 +- .../discouraged_optional_boolean.html | 4 +- .../discouraged_optional_collection.html | 4 +- .../Documents/duplicate_conditions.html | 4 +- .../Documents/duplicate_enum_cases.html | 4 +- .../Documents/duplicate_imports.html | 4 +- .../duplicated_key_in_dictionary_literal.html | 4 +- .../Resources/Documents/dynamic_inline.html | 4 +- .../Documents/empty_collection_literal.html | 4 +- .../Resources/Documents/empty_count.html | 4 +- .../Documents/empty_enum_arguments.html | 4 +- .../Resources/Documents/empty_parameters.html | 4 +- ...pty_parentheses_with_trailing_closure.html | 4 +- .../Resources/Documents/empty_string.html | 4 +- .../Documents/empty_xctest_method.html | 4 +- .../enum_case_associated_values_count.html | 4 +- .../Resources/Documents/expiring_todo.html | 4 +- .../Resources/Documents/explicit_acl.html | 4 +- .../Documents/explicit_enum_raw_value.html | 4 +- .../Resources/Documents/explicit_init.html | 4 +- .../Resources/Documents/explicit_self.html | 4 +- .../Documents/explicit_top_level_acl.html | 4 +- .../Documents/explicit_type_interface.html | 4 +- .../Documents/extension_access_modifier.html | 4 +- .../Resources/Documents/fallthrough.html | 4 +- .../Documents/fatal_error_message.html | 4 +- .../Resources/Documents/file_header.html | 4 +- .../Resources/Documents/file_length.html | 4 +- .../Resources/Documents/file_name.html | 4 +- .../Documents/file_name_no_space.html | 4 +- .../Resources/Documents/file_types_order.html | 4 +- .../Resources/Documents/first_where.html | 4 +- .../Documents/flatmap_over_map_reduce.html | 4 +- .../Resources/Documents/for_where.html | 4 +- .../Resources/Documents/force_cast.html | 4 +- .../Resources/Documents/force_try.html | 4 +- .../Resources/Documents/force_unwrapping.html | 4 +- .../Documents/function_body_length.html | 4 +- .../function_default_parameter_at_end.html | 4 +- .../Documents/function_parameter_count.html | 4 +- .../Documents/generic_type_name.html | 4 +- .../Documents/ibinspectable_in_extension.html | 4 +- .../Documents/identical_operands.html | 4 +- .../Resources/Documents/identifier_name.html | 4 +- .../Resources/Documents/implicit_getter.html | 4 +- .../Resources/Documents/implicit_return.html | 4 +- .../implicitly_unwrapped_optional.html | 4 +- .../Documents/inclusive_language.html | 4 +- .../Documents/indentation_width.html | 4 +- .../Contents/Resources/Documents/index.html | 4 +- .../Resources/Documents/inert_defer.html | 4 +- .../Documents/invalid_swiftlint_command.html | 4 +- .../Resources/Documents/is_disjoint.html | 4 +- .../Documents/joined_default_parameter.html | 4 +- .../Resources/Documents/large_tuple.html | 4 +- .../Resources/Documents/last_where.html | 4 +- .../Documents/leading_whitespace.html | 4 +- .../legacy_cggeometry_functions.html | 4 +- .../Resources/Documents/legacy_constant.html | 4 +- .../Documents/legacy_constructor.html | 4 +- .../Resources/Documents/legacy_hashing.html | 4 +- .../Resources/Documents/legacy_multiple.html | 4 +- .../legacy_nsgeometry_functions.html | 4 +- .../Resources/Documents/legacy_objc_type.html | 4 +- .../Resources/Documents/legacy_random.html | 4 +- .../Documents/let_var_whitespace.html | 4 +- .../Resources/Documents/line_length.html | 4 +- .../literal_expression_end_indentation.html | 4 +- .../Documents/local_doc_comment.html | 4 +- .../Documents/lower_acl_than_parent.html | 4 +- .../Contents/Resources/Documents/mark.html | 4 +- .../Resources/Documents/missing_docs.html | 4 +- .../Resources/Documents/modifier_order.html | 4 +- .../Documents/multiline_arguments.html | 4 +- .../multiline_arguments_brackets.html | 4 +- .../Documents/multiline_function_chains.html | 4 +- .../Documents/multiline_literal_brackets.html | 4 +- .../Documents/multiline_parameters.html | 4 +- .../multiline_parameters_brackets.html | 4 +- ...ltiple_closures_with_trailing_closure.html | 4 +- .../Contents/Resources/Documents/nesting.html | 4 +- .../Resources/Documents/nimble_operator.html | 4 +- .../no_extension_access_modifier.html | 4 +- .../Documents/no_fallthrough_only.html | 4 +- .../Documents/no_grouping_extension.html | 4 +- .../Resources/Documents/no_magic_numbers.html | 4 +- .../Documents/no_space_in_method_call.html | 4 +- .../notification_center_detachment.html | 4 +- .../ns_number_init_as_function_reference.html | 4 +- .../Documents/nslocalizedstring_key.html | 4 +- .../nslocalizedstring_require_bundle.html | 4 +- .../Documents/nsobject_prefer_isequal.html | 4 +- .../Resources/Documents/number_separator.html | 4 +- .../Resources/Documents/object_literal.html | 4 +- .../Resources/Documents/opening_brace.html | 4 +- .../Documents/operator_usage_whitespace.html | 4 +- .../Documents/operator_whitespace.html | 4 +- .../optional_enum_case_matching.html | 4 +- .../Documents/orphaned_doc_comment.html | 4 +- .../Documents/overridden_super_call.html | 4 +- .../Documents/override_in_extension.html | 4 +- .../Documents/pattern_matching_keywords.html | 4 +- .../Resources/Documents/period_spacing.html | 4 +- .../Resources/Documents/prefer_nimble.html | 4 +- .../prefer_self_in_static_references.html | 4 +- .../prefer_self_type_over_type_of_self.html | 4 +- .../prefer_zero_over_explicit_init.html | 4 +- .../Documents/prefixed_toplevel_constant.html | 4 +- .../Resources/Documents/private_action.html | 4 +- .../Resources/Documents/private_outlet.html | 4 +- .../Documents/private_over_fileprivate.html | 4 +- .../Resources/Documents/private_subject.html | 4 +- .../Documents/private_unit_test.html | 4 +- .../prohibited_interface_builder.html | 4 +- .../Documents/prohibited_super_call.html | 4 +- .../protocol_property_accessors_order.html | 4 +- .../Documents/quick_discouraged_call.html | 4 +- .../quick_discouraged_focused_test.html | 4 +- .../quick_discouraged_pending_test.html | 4 +- ...aw_value_for_camel_cased_codable_enum.html | 4 +- .../Resources/Documents/reduce_boolean.html | 4 +- .../Resources/Documents/reduce_into.html | 4 +- .../Documents/redundant_discardable_let.html | 4 +- .../Documents/redundant_nil_coalescing.html | 4 +- .../Documents/redundant_objc_attribute.html | 4 +- .../redundant_optional_initialization.html | 4 +- .../Documents/redundant_self_in_closure.html | 4 +- .../redundant_set_access_control.html | 4 +- .../redundant_string_enum_value.html | 4 +- .../Documents/redundant_type_annotation.html | 4 +- .../Documents/redundant_void_return.html | 4 +- .../Resources/Documents/required_deinit.html | 4 +- .../Documents/required_enum_case.html | 4 +- .../Documents/return_arrow_whitespace.html | 4 +- .../return_value_from_void_function.html | 4 +- .../Resources/Documents/rule-directory.html | 4 +- .../Contents/Resources/Documents/search.json | 2 +- .../Resources/Documents/self_binding.html | 4 +- .../self_in_property_initialization.html | 4 +- .../Documents/shorthand_operator.html | 4 +- .../Documents/shorthand_optional_binding.html | 4 +- .../Documents/single_test_class.html | 4 +- .../Documents/sorted_enum_cases.html | 4 +- .../Documents/sorted_first_last.html | 4 +- .../Resources/Documents/sorted_imports.html | 4 +- .../Documents/statement_position.html | 4 +- .../Resources/Documents/static_operator.html | 4 +- .../Documents/strict_fileprivate.html | 4 +- .../Resources/Documents/strong_iboutlet.html | 4 +- .../superfluous_disable_command.html | 4 +- .../Resources/Documents/superfluous_else.html | 4 +- .../Documents/swift-syntax-dashboard.html | 4 +- .../Documents/switch_case_alignment.html | 4 +- .../Documents/switch_case_on_newline.html | 4 +- .../Resources/Documents/syntactic_sugar.html | 4 +- .../Documents/test_case_accessibility.html | 4 +- .../Contents/Resources/Documents/todo.html | 4 +- .../Resources/Documents/toggle_bool.html | 4 +- .../Resources/Documents/trailing_closure.html | 4 +- .../Resources/Documents/trailing_comma.html | 4 +- .../Resources/Documents/trailing_newline.html | 4 +- .../Documents/trailing_semicolon.html | 4 +- .../Documents/trailing_whitespace.html | 4 +- .../Resources/Documents/type_body_length.html | 4 +- .../Documents/type_contents_order.html | 4 +- .../Resources/Documents/type_name.html | 4 +- .../Documents/typesafe_array_init.html | 4 +- .../Documents/unavailable_condition.html | 4 +- .../Documents/unavailable_function.html | 4 +- .../Documents/unhandled_throwing_task.html | 4 +- .../Documents/unneeded_break_in_switch.html | 4 +- ...eeded_parentheses_in_closure_argument.html | 4 +- .../Documents/unowned_variable_capture.html | 4 +- .../Documents/untyped_error_in_catch.html | 4 +- .../Documents/unused_capture_list.html | 4 +- .../Documents/unused_closure_parameter.html | 4 +- .../Documents/unused_control_flow_label.html | 4 +- .../Documents/unused_declaration.html | 4 +- .../Documents/unused_enumerated.html | 4 +- .../Resources/Documents/unused_import.html | 4 +- .../Documents/unused_optional_binding.html | 4 +- .../Documents/unused_setter_value.html | 4 +- .../Documents/valid_ibinspectable.html | 4 +- .../vertical_parameter_alignment.html | 4 +- .../vertical_parameter_alignment_on_call.html | 4 +- .../Documents/vertical_whitespace.html | 4 +- .../vertical_whitespace_between_cases.html | 4 +- .../vertical_whitespace_closing_braces.html | 86 +++++++++--------- .../vertical_whitespace_opening_braces.html | 4 +- .../Documents/void_function_in_ternary.html | 4 +- .../Resources/Documents/void_return.html | 4 +- .../Resources/Documents/weak_delegate.html | 4 +- .../Documents/xct_specific_matcher.html | 4 +- .../Resources/Documents/xctfail_message.html | 4 +- .../Resources/Documents/yoda_condition.html | 4 +- .../Contents/Resources/docSet.dsidx | Bin 155648 -> 155648 bytes docsets/SwiftLintCore.tgz | Bin 524889 -> 524610 bytes duplicate_conditions.html | 4 +- duplicate_enum_cases.html | 4 +- duplicate_imports.html | 4 +- duplicated_key_in_dictionary_literal.html | 4 +- dynamic_inline.html | 4 +- empty_collection_literal.html | 4 +- empty_count.html | 4 +- empty_enum_arguments.html | 4 +- empty_parameters.html | 4 +- empty_parentheses_with_trailing_closure.html | 4 +- empty_string.html | 4 +- empty_xctest_method.html | 4 +- enum_case_associated_values_count.html | 4 +- expiring_todo.html | 4 +- explicit_acl.html | 4 +- explicit_enum_raw_value.html | 4 +- explicit_init.html | 4 +- explicit_self.html | 4 +- explicit_top_level_acl.html | 4 +- explicit_type_interface.html | 4 +- extension_access_modifier.html | 4 +- fallthrough.html | 4 +- fatal_error_message.html | 4 +- file_header.html | 4 +- file_length.html | 4 +- file_name.html | 4 +- file_name_no_space.html | 4 +- file_types_order.html | 4 +- first_where.html | 4 +- flatmap_over_map_reduce.html | 4 +- for_where.html | 4 +- force_cast.html | 4 +- force_try.html | 4 +- force_unwrapping.html | 4 +- function_body_length.html | 4 +- function_default_parameter_at_end.html | 4 +- function_parameter_count.html | 4 +- generic_type_name.html | 4 +- ibinspectable_in_extension.html | 4 +- identical_operands.html | 4 +- identifier_name.html | 4 +- implicit_getter.html | 4 +- implicit_return.html | 4 +- implicitly_unwrapped_optional.html | 4 +- inclusive_language.html | 4 +- indentation_width.html | 4 +- index.html | 4 +- inert_defer.html | 4 +- invalid_swiftlint_command.html | 4 +- is_disjoint.html | 4 +- joined_default_parameter.html | 4 +- large_tuple.html | 4 +- last_where.html | 4 +- leading_whitespace.html | 4 +- legacy_cggeometry_functions.html | 4 +- legacy_constant.html | 4 +- legacy_constructor.html | 4 +- legacy_hashing.html | 4 +- legacy_multiple.html | 4 +- legacy_nsgeometry_functions.html | 4 +- legacy_objc_type.html | 4 +- legacy_random.html | 4 +- let_var_whitespace.html | 4 +- line_length.html | 4 +- literal_expression_end_indentation.html | 4 +- local_doc_comment.html | 4 +- lower_acl_than_parent.html | 4 +- mark.html | 4 +- missing_docs.html | 4 +- modifier_order.html | 4 +- multiline_arguments.html | 4 +- multiline_arguments_brackets.html | 4 +- multiline_function_chains.html | 4 +- multiline_literal_brackets.html | 4 +- multiline_parameters.html | 4 +- multiline_parameters_brackets.html | 4 +- multiple_closures_with_trailing_closure.html | 4 +- nesting.html | 4 +- nimble_operator.html | 4 +- no_extension_access_modifier.html | 4 +- no_fallthrough_only.html | 4 +- no_grouping_extension.html | 4 +- no_magic_numbers.html | 4 +- no_space_in_method_call.html | 4 +- notification_center_detachment.html | 4 +- ns_number_init_as_function_reference.html | 4 +- nslocalizedstring_key.html | 4 +- nslocalizedstring_require_bundle.html | 4 +- nsobject_prefer_isequal.html | 4 +- number_separator.html | 4 +- object_literal.html | 4 +- opening_brace.html | 4 +- operator_usage_whitespace.html | 4 +- operator_whitespace.html | 4 +- optional_enum_case_matching.html | 4 +- orphaned_doc_comment.html | 4 +- overridden_super_call.html | 4 +- override_in_extension.html | 4 +- pattern_matching_keywords.html | 4 +- period_spacing.html | 4 +- prefer_nimble.html | 4 +- prefer_self_in_static_references.html | 4 +- prefer_self_type_over_type_of_self.html | 4 +- prefer_zero_over_explicit_init.html | 4 +- prefixed_toplevel_constant.html | 4 +- private_action.html | 4 +- private_outlet.html | 4 +- private_over_fileprivate.html | 4 +- private_subject.html | 4 +- private_unit_test.html | 4 +- prohibited_interface_builder.html | 4 +- prohibited_super_call.html | 4 +- protocol_property_accessors_order.html | 4 +- quick_discouraged_call.html | 4 +- quick_discouraged_focused_test.html | 4 +- quick_discouraged_pending_test.html | 4 +- raw_value_for_camel_cased_codable_enum.html | 4 +- reduce_boolean.html | 4 +- reduce_into.html | 4 +- redundant_discardable_let.html | 4 +- redundant_nil_coalescing.html | 4 +- redundant_objc_attribute.html | 4 +- redundant_optional_initialization.html | 4 +- redundant_self_in_closure.html | 4 +- redundant_set_access_control.html | 4 +- redundant_string_enum_value.html | 4 +- redundant_type_annotation.html | 4 +- redundant_void_return.html | 4 +- required_deinit.html | 4 +- required_enum_case.html | 4 +- return_arrow_whitespace.html | 4 +- return_value_from_void_function.html | 4 +- rule-directory.html | 4 +- search.json | 2 +- self_binding.html | 4 +- self_in_property_initialization.html | 4 +- shorthand_operator.html | 4 +- shorthand_optional_binding.html | 4 +- single_test_class.html | 4 +- sorted_enum_cases.html | 4 +- sorted_first_last.html | 4 +- sorted_imports.html | 4 +- statement_position.html | 4 +- static_operator.html | 4 +- strict_fileprivate.html | 4 +- strong_iboutlet.html | 4 +- superfluous_disable_command.html | 4 +- superfluous_else.html | 4 +- swift-syntax-dashboard.html | 4 +- switch_case_alignment.html | 4 +- switch_case_on_newline.html | 4 +- syntactic_sugar.html | 4 +- test_case_accessibility.html | 4 +- todo.html | 4 +- toggle_bool.html | 4 +- trailing_closure.html | 4 +- trailing_comma.html | 4 +- trailing_newline.html | 4 +- trailing_semicolon.html | 4 +- trailing_whitespace.html | 4 +- type_body_length.html | 4 +- type_contents_order.html | 4 +- type_name.html | 4 +- typesafe_array_init.html | 4 +- unavailable_condition.html | 4 +- unavailable_function.html | 4 +- unhandled_throwing_task.html | 4 +- unneeded_break_in_switch.html | 4 +- unneeded_parentheses_in_closure_argument.html | 4 +- unowned_variable_capture.html | 4 +- untyped_error_in_catch.html | 4 +- unused_capture_list.html | 4 +- unused_closure_parameter.html | 4 +- unused_control_flow_label.html | 4 +- unused_declaration.html | 4 +- unused_enumerated.html | 4 +- unused_import.html | 4 +- unused_optional_binding.html | 4 +- unused_setter_value.html | 4 +- valid_ibinspectable.html | 4 +- vertical_parameter_alignment.html | 4 +- vertical_parameter_alignment_on_call.html | 4 +- vertical_whitespace.html | 4 +- vertical_whitespace_between_cases.html | 4 +- vertical_whitespace_closing_braces.html | 86 +++++++++--------- vertical_whitespace_opening_braces.html | 4 +- void_function_in_ternary.html | 4 +- void_return.html | 4 +- weak_delegate.html | 4 +- xct_specific_matcher.html | 4 +- xctfail_message.html | 4 +- yoda_condition.html | 4 +- 626 files changed, 1464 insertions(+), 1404 deletions(-) rename Enums/{ConfigurationError.html => Issue.html} (84%) rename docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/{ConfigurationError.html => Issue.html} (84%) diff --git a/Classes.html b/Classes.html index 1361b4a5c..00a147eb7 100644 --- a/Classes.html +++ b/Classes.html @@ -137,10 +137,10 @@ AccessControlLevel
  • - - - ConfigurationError + + + Issue
    @@ -426,20 +426,20 @@
    -

    All possible configuration errors.

    +

    All possible SwiftLint issues which are printed as warnings by default.

    - See more + See more

    Declaration

    Swift

    -
    public enum ConfigurationError : Error, Equatable
    +
    public enum Issue : LocalizedError, Equatable
    diff --git a/Enums/AccessControlLevel.html b/Enums/AccessControlLevel.html index 40da496be..dcf2b0cfe 100644 --- a/Enums/AccessControlLevel.html +++ b/Enums/AccessControlLevel.html @@ -137,10 +137,10 @@ AccessControlLevel
  • - + - unknownConfiguration + unknownConfiguration
    @@ -380,7 +380,7 @@
    @@ -388,9 +388,9 @@
  • - - - ambiguousMatchKindParameters + + + genericWarning(_:)
    @@ -398,19 +398,19 @@
    -

    The configuration had both match_kind and excluded_match_kind parameters.

    +

    A generic warning specified by a string.

    Declaration

    Swift

    -
    case ambiguousMatchKindParameters
    +
    case genericWarning(String)
    @@ -418,9 +418,9 @@
  • - - - generic(_:) + + + deprecation(ruleID:)
    @@ -428,19 +428,19 @@
    -

    A generic configuration error specified by a string.

    +

    A deprecation warning for a rule.

    Declaration

    Swift

    -
    case generic(String)
    +
    case deprecation(ruleID: String)
    @@ -448,9 +448,9 @@
  • - + - initialFileNotFound(path:) + initialFileNotFound(path:)
    @@ -470,7 +470,37 @@
    + + +
  • +
  • +
    + + + + yamlParsing(_:) + +
    +
    +
    +
    +
    +
    +

    An error that occurred when parsing YAML.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case yamlParsing(String)
    + +
    +
    +
    diff --git a/Enums/RuleIdentifier.html b/Enums/RuleIdentifier.html index 41139aeb1..878ce10a1 100644 --- a/Enums/RuleIdentifier.html +++ b/Enums/RuleIdentifier.html @@ -137,10 +137,10 @@ AccessControlLevel
  • - - - ConfigurationError + + + Issue
    @@ -426,20 +426,20 @@
    -

    All possible configuration errors.

    +

    All possible SwiftLint issues which are printed as warnings by default.

    - See more + See more

    Declaration

    Swift

    -
    public enum ConfigurationError : Error, Equatable
    +
    public enum Issue : LocalizedError, Equatable
    diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html index 40da496be..dcf2b0cfe 100644 --- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html +++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html @@ -137,10 +137,10 @@ AccessControlLevel
  • - + - unknownConfiguration + unknownConfiguration
    @@ -380,7 +380,7 @@
    @@ -388,9 +388,9 @@
  • - - - ambiguousMatchKindParameters + + + genericWarning(_:)
    @@ -398,19 +398,19 @@
    -

    The configuration had both match_kind and excluded_match_kind parameters.

    +

    A generic warning specified by a string.

    Declaration

    Swift

    -
    case ambiguousMatchKindParameters
    +
    case genericWarning(String)
    @@ -418,9 +418,9 @@
  • - - - generic(_:) + + + deprecation(ruleID:)
    @@ -428,19 +428,19 @@
    -

    A generic configuration error specified by a string.

    +

    A deprecation warning for a rule.

    Declaration

    Swift

    -
    case generic(String)
    +
    case deprecation(ruleID: String)
    @@ -448,9 +448,9 @@
  • - + - initialFileNotFound(path:) + initialFileNotFound(path:)
    @@ -470,7 +470,37 @@
    + + +
  • +
  • +
    + + + + yamlParsing(_:) + +
    +
    +
    +
    +
    +
    +

    An error that occurred when parsing YAML.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case yamlParsing(String)
    + +
    +
    +
    diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html index 41139aeb1..878ce10a1 100644 --- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html +++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html @@ -137,10 +137,10 @@ AccessControlLevel
  • Default configuration: severity: warning, only_enforce_before_trivial_lines: false
  • Non Triggering Examples

    -
    do {
    -  print("x is 5")
    -}
    -
    -
    print([
    -  1
    -])
    -
    print([foo {
       var sum = 0
       for i in 1...5 { sum += i }
    @@ -368,21 +360,11 @@
       return mul
     }])
     
    -
    do {
    -  print("x is 5")
    -}
    -
    foo(
         x: 5,
         y:6
     )
     
    -
    func foo() {
    -  run(5) { x in
    -    print(x)
    -  }
    -}
    -
    do {
       print("x is 5")
     }
    @@ -393,6 +375,24 @@
     3
     ]
     
    +
    do {
    +  print("x is 5")
    +}
    +
    +
    print([
    +  1
    +])
    +
    +
    func foo() {
    +  run(5) { x in
    +    print(x)
    +  }
    +}
    +
    +
    do {
    +  print("x is 5")
    +}
    +
    [1, 2].map { $0 }.filter { true }
     
    [1, 2].map { $0 }.filter { num in true }
    @@ -420,17 +420,6 @@
     }
     

    Triggering Examples

    -
    do {
    -  print("x is 5")
    -↓
    -
    -}
    -
    -
    print([
    -  1
    -↓
    -])
    -
    print([foo {
       var sum = 0
       for i in 1...5 { sum += i }
    @@ -443,17 +432,35 @@
     ↓
     }])
     
    -
    do {
    -  print("x is 5")
    -↓
    -}
    -
    foo(
         x: 5,
         y:6
     ↓
     )
     
    +
    do {
    +  print("x is 5")
    +↓
    +}
    +
    +
    [
    +1,
    +2,
    +3
    +↓
    +]
    +
    +
    do {
    +  print("x is 5")
    +↓
    +
    +}
    +
    +
    print([
    +  1
    +↓
    +])
    +
    func foo() {
       run(5) { x in
         print(x)
    @@ -466,13 +473,6 @@
     ↓
     
     }
    -
    -
    [
    -1,
    -2,
    -3
    -↓
    -]
     
    diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html index 2eb390ba9..767b32ddd 100644 --- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html +++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html @@ -136,10 +136,10 @@ AccessControlLevel
  • Default configuration: severity: warning, only_enforce_before_trivial_lines: false
  • Non Triggering Examples

    -
    do {
    -  print("x is 5")
    -}
    -
    -
    print([
    -  1
    -])
    -
    print([foo {
       var sum = 0
       for i in 1...5 { sum += i }
    @@ -368,21 +360,11 @@
       return mul
     }])
     
    -
    do {
    -  print("x is 5")
    -}
    -
    foo(
         x: 5,
         y:6
     )
     
    -
    func foo() {
    -  run(5) { x in
    -    print(x)
    -  }
    -}
    -
    do {
       print("x is 5")
     }
    @@ -393,6 +375,24 @@
     3
     ]
     
    +
    do {
    +  print("x is 5")
    +}
    +
    +
    print([
    +  1
    +])
    +
    +
    func foo() {
    +  run(5) { x in
    +    print(x)
    +  }
    +}
    +
    +
    do {
    +  print("x is 5")
    +}
    +
    [1, 2].map { $0 }.filter { true }
     
    [1, 2].map { $0 }.filter { num in true }
    @@ -420,17 +420,6 @@
     }
     

    Triggering Examples

    -
    do {
    -  print("x is 5")
    -↓
    -
    -}
    -
    -
    print([
    -  1
    -↓
    -])
    -
    print([foo {
       var sum = 0
       for i in 1...5 { sum += i }
    @@ -443,17 +432,35 @@
     ↓
     }])
     
    -
    do {
    -  print("x is 5")
    -↓
    -}
    -
    foo(
         x: 5,
         y:6
     ↓
     )
     
    +
    do {
    +  print("x is 5")
    +↓
    +}
    +
    +
    [
    +1,
    +2,
    +3
    +↓
    +]
    +
    +
    do {
    +  print("x is 5")
    +↓
    +
    +}
    +
    +
    print([
    +  1
    +↓
    +])
    +
    func foo() {
       run(5) { x in
         print(x)
    @@ -466,13 +473,6 @@
     ↓
     
     }
    -
    -
    [
    -1,
    -2,
    -3
    -↓
    -]
     
    diff --git a/vertical_whitespace_opening_braces.html b/vertical_whitespace_opening_braces.html index 2eb390ba9..767b32ddd 100644 --- a/vertical_whitespace_opening_braces.html +++ b/vertical_whitespace_opening_braces.html @@ -136,10 +136,10 @@ AccessControlLevel