Suggest failable String(bytes:encoding:) initializer in
optional_data_string_conversion rule as it accepts all Sequence
types. Jordan RoseSimplyDanny
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
Adds a lenient configuration file setting, equivalent to the --lenient
command line option. Martin Redington#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#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. kimdvSimplyDanny#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#3750
Allow inherited isolation parameter to be first in function signatures
depending on the new option ignore_first_isolation_inheritance_parameter
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/realm/swiftlint from 0.57.0 to 0.57.1.
Release notes
Sourced from github.com/realm/swiftlint's releases.
... (truncated)
Commits
25f2776
Release 0.57.1236c29a
Create releases as drafts2a723d0
Add new optionmax_number_of_single_line_parameters
to `multiline_paramete...c784adc
Pass only remaining arguments toswiftlint
command (#5865)086f1b3
Sync build settings and options (#5861)2c7e723
Support type casting on configuration option values defined by environment va...025b1e7
Allow inherited isolation parameter to be first in function signatures (#5859)9e61e81
Rework algorithm used infunction_default_parameter_at_end
rule (#5858)cafed07
Silencesuperfluous_else
rule for availability conditions (#5857)707a63d
Allow closures being directly called to be wrapped into parentheses (#5856)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show