Skip to content

Commit

Permalink
chore(deps): update dependency realm/swiftlint to v0.57.1 (#212)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [realm/SwiftLint](https://redirect.github.com/realm/SwiftLint) | patch
| `0.57.0` -> `0.57.1` |

---

### Release Notes

<details>
<summary>realm/SwiftLint (realm/SwiftLint)</summary>

###
[`v0.57.1`](https://redirect.github.com/realm/SwiftLint/blob/HEAD/CHANGELOG.md#0571-Squeaky-Clean-Cycle)

[Compare
Source](https://redirect.github.com/realm/SwiftLint/compare/0.57.0...0.57.1)

##### Breaking

-   None.

##### Experimental

-   None.

##### Enhancements

-   Suggest failable `String(bytes:encoding:)` initializer in
    `optional_data_string_conversion` rule as it accepts all `Sequence`
    types.\
    [Jordan Rose](https://redirect.github.com/jrose-signal)
    [SimplyDanny](https://redirect.github.com/SimplyDanny)

-   Support reading files to lint from Input File Lists provided
    by Run Script Build Phases in Xcode using the command-line
    argument `--use-script-input-file-lists`.\
    [BlueVirusX](https://redirect.github.com/BlueVirusX)

- Adds a `lenient` configuration file setting, equivalent to the
`--lenient`
    command line option.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5801](https://redirect.github.com/realm/SwiftLint/issues/5801)

- Support type casting on configuration option values defined by
environment variables.
Without a cast, these values would always be treated as strings leading
to a potentially
    invalid configuration.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5774](https://redirect.github.com/realm/SwiftLint/issues/5774)

- Add new option `max_number_of_single_line_parameters` that allows only
the specified maximum
number of parameters to be on one line when `allows_single_line = true`.
If the limit is
exceeded, the rule will still trigger. Confusing option combinations
like `allows_single_line = false`
together with `max_number_of_single_line_parameters > 1` will be
reported.\
    [kimdv](https://redirect.github.com/kimdv)
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5781](https://redirect.github.com/realm/SwiftLint/issues/5781)

-   The `redundant_type_annotation` rule gains a new option,
    `ignore_properties`, that skips enforcement on members in a
    type declaration (like a `struct`). This helps the rule coexist with
    the `explicit_type_interface` rule that requires such redundancy.\
    [jaredgrubb](https://redirect.github.com/jaredgrubb)
[#&#8203;3750](https://redirect.github.com/realm/SwiftLint/issues/3750)

- Allow inherited isolation parameter to be first in function signatures
depending on the new option
`ignore_first_isolation_inheritance_parameter`
    which is `true` by default.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5793](https://redirect.github.com/realm/SwiftLint/issues/5793)

##### Bug Fixes

-   Run command plugin in whole package if no targets are defined in the
    package manifest.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5787](https://redirect.github.com/realm/SwiftLint/issues/5787)

- Silence `superfluous_else` rule on `if` expressions with only a single
    availability condition.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5833](https://redirect.github.com/realm/SwiftLint/issues/5833)

- Stop triggering the `control_statement` rule on closures being
directly
    called as conditions.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5846](https://redirect.github.com/realm/SwiftLint/issues/5846)

-   Do not trigger `self_in_property_initialization` rule on `self` in
    key paths expressions.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5835](https://redirect.github.com/realm/SwiftLint/issues/5835)

-   Allow to specify transitive modules to be taken into account by
`unused_import` rule. This avoids that required imports are removed.\
    [Paul Taykalo](https://redirect.github.com/PaulTaykalo)
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5167](https://redirect.github.com/realm/SwiftLint/issues/5167)

- Only pass cache path and directory paths to commands that accept these
arguments
    in the command plugin.\
    [SimplyDanny](https://redirect.github.com/SimplyDanny)
[#&#8203;5848](https://redirect.github.com/realm/SwiftLint/issues/5848)

-   Do not throw deprecation warning if deprecated property is not
    presented in configuration.\
    [chipp](https://redirect.github.com/chipp)
[#&#8203;5791](https://redirect.github.com/realm/SwiftLint/issues/5791)

- The `prefer_type_checking` rule will no longer trigger for
non-optional
    type casting (`as`), or for comparisons to optional types.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5802](https://redirect.github.com/realm/SwiftLint/issues/5802)

- Fixes an issue where the `superfluous_disable_command` rule could
generate
    false positives for nested disable commands for custom rules.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5788](https://redirect.github.com/realm/SwiftLint/issues/5788)

- Fixes the `--only-rule` command line option, when a default
`.swiftlint.yml`
is absent. Additionally rules specified with `--only-rule` on the
command
    line can now be disabled in a child configuration, to allow specific
directories to be excluded from the rule (or from being auto-corrected
by
    the rule), and `--only-rule` can now be specified multiple times
    to run multiple rules.\
    [Martin Redington](https://redirect.github.com/mildm8nnered)
[#&#8203;5711](https://redirect.github.com/realm/SwiftLint/issues/5711)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone
America/Chicago, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/levibostian/Wendy-iOS).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 24, 2024
1 parent 1da6475 commit 5b2e9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
krzysztofzablocki/[email protected]
yonaskolb/[email protected]
realm/[email protected].0
realm/[email protected].1
nicklockwood/[email protected]

0 comments on commit 5b2e9e3

Please sign in to comment.