Skip to content

Commit

Permalink
Apply scheduled running result
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 25, 2024
1 parent 660861e commit 8446f33
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Outputs/SwiftFormat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,5 +1174,17 @@
"title" : "0.55.1",
"url" : "https://github.com/nicklockwood/SwiftFormat/releases/tag/0.55.1",
"version" : "0.55.1"
},
{
"body" : "- Fixed bug where `unusedArguments` failed to remove arguments that matched switch variable bindings\r\n- Fixed bug where `unusedArguments` failed to remove arguments that matched nested function call labels\r\n- Fixed spurious lint errors for `blankLinesAtStartOfScope` when using `organizeDeclarations` rule\r\n- Fixed bug where indentation errors were incorrectly reported as `wrap` rule lint errors\r\n- The `preferKeyPaths` rule now handles the `\\\\.self` case for Swift 5.10 and later\r\n- Fixed parsing of keyPaths beginning with `\\.?`\r\n",
"createdAt" : "2024-11-24T18:00:27+09:00",
"fetchedFromAPIAt" : "2024-11-25T10:12:51+09:00",
"id" : "RE_kwDOA_OyXc4LJ7rH",
"owner" : "nicklockwood",
"publishedAt" : "2024-11-24T18:47:11+09:00",
"repository" : "SwiftFormat",
"title" : "0.55.2",
"url" : "https://github.com/nicklockwood/SwiftFormat/releases/tag/0.55.2",
"version" : "0.55.2"
}
]
12 changes: 12 additions & 0 deletions Outputs/SwiftLint.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,5 +706,17 @@
"title" : "0.57.0: Squeaky Clean Cycle",
"url" : "https://github.com/realm/SwiftLint/releases/tag/0.57.0",
"version" : "0.57.0"
},
{
"body" : "#### Breaking\r\n\r\n* None.\r\n\r\n#### Experimental\r\n\r\n* None.\r\n\r\n#### Enhancements\r\n\r\n* Suggest failable `String(bytes:encoding:)` initializer in\r\n `optional_data_string_conversion` rule as it accepts all `Sequence`\r\n types. \r\n [Jordan Rose](https://github.com/jrose-signal)\r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n\r\n* Support reading files to lint from Input File Lists provided\r\n by Run Script Build Phases in Xcode using the command-line\r\n argument `--use-script-input-file-lists`. \r\n [BlueVirusX](https://github.com/BlueVirusX)\r\n\r\n* Adds a `lenient` configuration file setting, equivalent to the `--lenient`\r\n command line option. \r\n [Martin Redington](https://github.com/mildm8nnered)\r\n [#5801](https://github.com/realm/SwiftLint/issues/5801)\r\n\r\n* Support type casting on configuration option values defined by environment variables.\r\n Without a cast, these values would always be treated as strings leading to a potentially\r\n invalid configuration. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5774](https://github.com/realm/SwiftLint/issues/5774)\r\n\r\n* Add new option `max_number_of_single_line_parameters` that allows only the specified maximum\r\n number of parameters to be on one line when `allows_single_line = true`. If the limit is\r\n exceeded, the rule will still trigger. Confusing option combinations like `allows_single_line = false`\r\n together with `max_number_of_single_line_parameters > 1` will be reported. \r\n [kimdv](https://github.com/kimdv)\r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5781](https://github.com/realm/SwiftLint/issues/5781)\r\n\r\n* The `redundant_type_annotation` rule gains a new option,\r\n `ignore_properties`, that skips enforcement on members in a\r\n type declaration (like a `struct`). This helps the rule coexist with\r\n the `explicit_type_interface` rule that requires such redundancy. \r\n [jaredgrubb](https://github.com/jaredgrubb)\r\n [#3750](https://github.com/realm/SwiftLint/issues/3750)\r\n\r\n* Allow inherited isolation parameter to be first in function signatures\r\n depending on the new option `ignore_first_isolation_inheritance_parameter`\r\n which is `true` by default. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5793](https://github.com/realm/SwiftLint/issues/5793)\r\n\r\n#### Bug Fixes\r\n\r\n* Run command plugin in whole package if no targets are defined in the\r\n package manifest. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5787](https://github.com/realm/SwiftLint/issues/5787)\r\n\r\n* Silence `superfluous_else` rule on `if` expressions with only a single\r\n availability condition. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5833](https://github.com/realm/SwiftLint/issues/5833)\r\n\r\n* Stop triggering the `control_statement` rule on closures being directly\r\n called as conditions. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5846](https://github.com/realm/SwiftLint/issues/5846)\r\n\r\n* Do not trigger `self_in_property_initialization` rule on `self` in\r\n key paths expressions. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5835](https://github.com/realm/SwiftLint/issues/5835)\r\n\r\n* Allow to specify transitive modules to be taken into account by\r\n `unused_import` rule. This avoids that required imports are removed. \r\n [Paul Taykalo](https://github.com/PaulTaykalo)\r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5167](https://github.com/realm/SwiftLint/issues/5167)\r\n\r\n* Only pass cache path and directory paths to commands that accept these arguments\r\n in the command plugin. \r\n [SimplyDanny](https://github.com/SimplyDanny)\r\n [#5848](https://github.com/realm/SwiftLint/issues/5848)\r\n\r\n* Do not throw deprecation warning if deprecated property is not\r\n presented in configuration. \r\n [chipp](https://github.com/chipp)\r\n [#5791](https://github.com/realm/SwiftLint/issues/5791)\r\n\r\n* The `prefer_type_checking` rule will no longer trigger for non-optional\r\n type casting (`as`), or for comparisons to optional types. \r\n [Martin Redington](https://github.com/mildm8nnered)\r\n [#5802](https://github.com/realm/SwiftLint/issues/5802)\r\n\r\n* Fixes an issue where the `superfluous_disable_command` rule could generate\r\n false positives for nested disable commands for custom rules. \r\n [Martin Redington](https://github.com/mildm8nnered)\r\n [#5788](https://github.com/realm/SwiftLint/issues/5788)\r\n\r\n* Fixes the `--only-rule` command line option, when a default `.swiftlint.yml`\r\n is absent. Additionally rules specified with `--only-rule` on the command\r\n line can now be disabled in a child configuration, to allow specific\r\n directories to be excluded from the rule (or from being auto-corrected by\r\n the rule), and `--only-rule` can now be specified multiple times\r\n to run multiple rules. \r\n [Martin Redington](https://github.com/mildm8nnered)\r\n [#5711](https://github.com/realm/SwiftLint/issues/5711)\r\n\r\n---\r\n\r\n### Using Bazel\r\n\r\nWith bzlmod:\r\n\r\n```\r\n// Pending BCR update\r\nbazel_dep(name = \"swiftlint\", version = \"0.57.1\", repo_name = \"SwiftLint\")\r\n```\r\n\r\nWithout bzlmod, put this in your `WORKSPACE`:\r\n\r\n<details>\r\n\r\n<summary>WORKSPACE</summary>\r\n\r\n```python\r\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\r\n\r\nhttp_archive(\r\n name = \"build_bazel_rules_apple\",\r\n sha256 = \"9e26307516c4d5f2ad4aee90ac01eb8cd31f9b8d6ea93619fc64b3cbc81b0944\",\r\n url = \"https://github.com/bazelbuild/rules_apple/releases/download/2.2.0/rules_apple.2.2.0.tar.gz\",\r\n)\r\n\r\nload(\r\n \"@build_bazel_rules_apple//apple:repositories.bzl\",\r\n \"apple_rules_dependencies\",\r\n)\r\n\r\napple_rules_dependencies()\r\n\r\nload(\r\n \"@build_bazel_rules_swift//swift:repositories.bzl\",\r\n \"swift_rules_dependencies\",\r\n)\r\n\r\nswift_rules_dependencies()\r\n\r\nload(\r\n \"@build_bazel_rules_swift//swift:extras.bzl\",\r\n \"swift_rules_extra_dependencies\",\r\n)\r\n\r\nswift_rules_extra_dependencies()\r\n\r\nhttp_archive(\r\n name = \"SwiftLint\",\r\n sha256 = \"78f9a8dfd3cb4b6b5ff173892c7f273cae0b67f3a0a1bd8651fe10029693f5f4\",\r\n url = \"https://github.com/realm/SwiftLint/releases/download/0.57.1/bazel.tar.gz\",\r\n)\r\n\r\nload(\"@SwiftLint//bazel:repos.bzl\", \"swiftlint_repos\")\r\n\r\nswiftlint_repos()\r\n\r\nload(\"@SwiftLint//bazel:deps.bzl\", \"swiftlint_deps\")\r\n\r\nswiftlint_deps()\r\n```\r\n\r\n</details>\r\n\r\nThen you can run SwiftLint in the current directory with this command:\r\n\r\n```console\r\nbazel run @SwiftLint//:swiftlint -- --help\r\n```\r\n",
"createdAt" : "2024-11-25T00:06:56+09:00",
"fetchedFromAPIAt" : "2024-11-25T10:12:51+09:00",
"id" : "RE_kwDOAiE69s4LJ-pR",
"owner" : "realm",
"publishedAt" : "2024-11-25T00:10:48+09:00",
"repository" : "SwiftLint",
"title" : "0.57.1: Squeaky Clean Cycle",
"url" : "https://github.com/realm/SwiftLint/releases/tag/0.57.1",
"version" : "0.57.1"
}
]

0 comments on commit 8446f33

Please sign in to comment.