Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency realm/SwiftLint to v0.54.0 #61

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 26, 2023

Mend Renovate

This PR contains the following updates:

Package Update Change
realm/SwiftLint minor 0.52.4 -> 0.54.0

Release Notes

realm/SwiftLint (realm/SwiftLint)

v0.54.0

Compare Source

Breaking
Experimental
  • None.
Enhancements
  • Add only configuration option to todo rule which allows to specify
    whether the rule shall trigger on TODOs, FIXMEs or both.
    gibachan
    #​5233

  • Make unneeded_break_in_switch auto correctable.
    KS1019

  • Speed up closure_parameter_position rule when there are no violations.
    Marcelo Fabri

  • Rewrite cyclomatic_complexity rule using SwiftSyntax.
    Marcelo Fabri

  • Rewrite redundant_void_return rule using SwiftSyntax.
    Also include redundant void return clauses for closures in addition to
    functions. This can be disabled by configuring the rule with
    include_closures: false.
    Marcelo Fabri
    JP Simard

  • Rewrite discouraged_optional_collection rule using SwiftSyntax, catching
    more violations.
    JP Simard

  • Rewrite duplicate_imports rule using SwiftSyntax.
    JP Simard

  • Handle viewIsAppearing in the type_contents_order rule.
    u-abyss
    #​5259

  • Rewrite vertical_parameter_alignment_on_call rule using SwiftSyntax, fixing
    some false positives.
    Marcelo Fabri
    #​3581

  • Rewrite no_grouping_extension rule using SwiftSyntax.
    Marcelo Fabri

Bug Fixes
  • Fix false positive in implicit_getter rule when using unknown accessors.
    kabiroberai
    #​5300

  • Fix correction of explicit_init rule by keeping significant trivia.
    BB9z
    #​5289

  • Fix invalid corrections for opaque and existential optionals in
    syntactic_sugar rule.
    SimplyDanny
    #​5277

  • Fix false positive in unused_import rule that triggered on
    @_exported imports which could break downstream modules if removed.
    jszumski
    #​5242

  • Fix false positive in unused_import rule when using a constructor
    defined in a transitive module.
    jszumski
    #​5246

v0.53.0

Compare Source

Breaking
  • Hide all Reporters from SwiftLint's' public interface.
    SimplyDanny

  • The options inlcuded, name and message are from now on ignored in the
    configuration for the private_unit_test rule. The option regex is still
    supported but is deprecated. It's recommended to use the list
    test_parent_classes instead which accepts names of parent test classes.
    SimplyDanny

  • Remove support for disable and enable commands in multiline comments.
    Martin Redington
    #​4798

Experimental
  • None.
Enhancements
  • Show specific violation message for the attributes rule when the option
    always_on_line_above or attributes_with_arguments_always_on_line_above
    is involved.
    chrisngabp
    5103

  • Rewrite control_statement rule using SwiftSyntax.
    SimplyDanny

  • Add new non_overridable_class_declaration rule that triggers on class
    function and variable declarations in final classes that are not final
    themselves or private.
    SimplyDanny

  • The Homebrew formula for SwiftLint now also installs completion scripts for
    Bash, Zsh and fish.
    SimplyDanny

  • Add new private_swiftui_state opt-in rule to encourage setting
    SwiftUI @State and @StateObject properties to private.
    mt00chikin
    #​3173

  • The implicit_return rule now supports the kinds subscript and
    initializer in the included configuration list.
    SimplyDanny

  • Add unneeded_override rule to remove function overrides that only
    call super.
    keith
    5139

  • Show a rule's active YAML configuration in output of
    swiftlint rules <rule>.
    SimplyDanny

  • Add invokeTest() to overridden_super_call defaults.
    DylanBettermannDD

  • Add --config-only option to rules command allowing to print only the YAML
    configuration of a single or all rules.
    SimplyDanny

  • Add --default-config option to rules command allowing to use default
    values for configurations being printed for a single rule or all rules.
    SimplyDanny

  • Add include_bare_init option to the explicit_init rule. include_bare_init
    encourages using named constructors over .init() and type inference.
    Martin Redington
    #​5203

  • Improved the reported location and reasons provided for issues
    detected by the invalid_swiftlint_command rule.
    Martin Redington
    #​5204

  • 100 is no longer considered to be a magic number by the no_magic_numbers
    rule.
    Martin Redington
    #​5215

  • Adds a strict configuration file setting, equivalent to the --strict
    command line option.
    Martin Redington
    #​5226

  • Extend implicitly_unwrapped_optional rule with the new mode
    weak_except_iboutlets that only checks weak variables.
    Ricky Tan

Bug Fixes
  • Respect grapheme clusters in counting the number of characters in the collection_alignment rule.
    kishikawakatsumi
    #​4837

  • Fix false positive in control_statement rule that triggered on conditions
    with trailing closures where parentheses are recommended by the compiler.
    SimplyDanny
    #​5135

  • Fix runtime error when an excluded directory does not exist.
    SimplyDanny
    #​5078

  • Support switch expressions used in expression contexts in
    switch_case_alignment rule.
    SimplyDanny
    #​5191
    #​5227
    #​5080

  • Fix bug in prefer_self_in_static_references rule that triggered on
    initializers of computed properties in classes when the property had an
    accessor block.
    SimplyDanny
    #​5118

  • Document exclude_ranges option for number_separator rule.
    SimplyDanny

  • Rewrite implicit_return rule with SwiftSyntax fixing a few false positives
    and false negatives in the process.
    SimplyDanny
    #​5161

  • Make sure severity is configurable for type_contents_order rule.
    SimplyDanny

  • Bazel: Mark rules_xcodeproj as a development dependency.
    Thi Doãn
    JP Simard
    #​4737

  • Fix false negatives for the unneeded_synthesized_initializer rule
    for nested structs in classes.
    Martin Redington
    #​5120

  • Fix some unexpected rule enablement interactions between parent and
    child configurations.
    Martin Redington
    #​4876

  • The no_magic_numbers rule will not trigger for violations in an
    extension, if the extended class inherits from one of the specified
    test_parent_classes, as long as the class declaration and the
    extension are in the same source file.
    Martin Redington
    #​5137

  • Fix false positive in the ns_number_init_as_function_reference rule
    when calling NSNumber.init(value:) directly.
    Marcelo Fabri
    #​5172

  • The no_magic_numbers rule will not trigger for bitwise shift
    operations.
    Martin Redington
    #​5171

  • The accessibility_label_for_image rule will no longer ignore the
    Image(systemName:) constructor, as many system images do not
    have good accessibility labels.
    Martin Redington
    #​5165

  • Fix false positives for superfluous_disable_command rule.
    Martin Redington
    #​4798

  • Fix false positive in the test_case_accessibility rule.
    gibachan
    #​5211


Configuration

📅 Schedule: Branch creation - "after 7pm every weekday,before 8am every weekday,every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 26, 2023
@renovate renovate bot enabled auto-merge September 26, 2023 19:04
@renovate renovate bot changed the title Update dependency realm/SwiftLint to v0.53.0 Update dependency realm/SwiftLint to v0.54.0 Nov 10, 2023
@renovate renovate bot force-pushed the renovate/realm-swiftlint-0.x branch from 75b3142 to 5558c95 Compare November 10, 2023 22:29
@renovate renovate bot force-pushed the renovate/realm-swiftlint-0.x branch from 5558c95 to ece175b Compare December 7, 2023 13:07
@renovate renovate bot force-pushed the renovate/realm-swiftlint-0.x branch 2 times, most recently from a883d56 to 384991e Compare December 18, 2023 16:57
@renovate renovate bot force-pushed the renovate/realm-swiftlint-0.x branch from 384991e to 512c2e4 Compare January 17, 2024 22:59
@417-72KI 417-72KI merged commit c2ed6f0 into main Jan 21, 2024
@417-72KI 417-72KI deleted the renovate/realm-swiftlint-0.x branch January 21, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant