Skip to content

Enable unneeded_throws_rethrows rule#6335

Merged
SimplyDanny merged 1 commit intomainfrom
enable-unneeded-throws
Nov 3, 2025
Merged

Enable unneeded_throws_rethrows rule#6335
SimplyDanny merged 1 commit intomainfrom
enable-unneeded-throws

Conversation

@SimplyDanny
Copy link
Copy Markdown
Collaborator

No description provided.

@SwiftLintBot
Copy link
Copy Markdown

1 Warning
⚠️ If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
18 Messages
📖 Building this branch resulted in the same binary size as when built on main.
📖 Linting Aerial with this PR took 0.76 s vs 0.72 s on main (5% slower).
📖 Linting Alamofire with this PR took 1.02 s vs 1.04 s on main (1% faster).
📖 Linting Brave with this PR took 6.71 s vs 6.71 s on main (0% slower).
📖 Linting DuckDuckGo with this PR took 20.73 s vs 20.86 s on main (0% faster).
📖 Linting Firefox with this PR took 10.64 s vs 10.62 s on main (0% slower).
📖 Linting Kickstarter with this PR took 7.46 s vs 7.42 s on main (0% slower).
📖 Linting Moya with this PR took 0.41 s vs 0.4 s on main (2% slower).
📖 Linting NetNewsWire with this PR took 2.35 s vs 2.37 s on main (0% faster).
📖 Linting Nimble with this PR took 0.64 s vs 0.59 s on main (8% slower).
📖 Linting PocketCasts with this PR took 6.83 s vs 6.78 s on main (0% slower).
📖 Linting Quick with this PR took 0.4 s vs 0.37 s on main (8% slower).
📖 Linting Realm with this PR took 3.19 s vs 3.21 s on main (0% faster).
📖 Linting Sourcery with this PR took 1.75 s vs 1.78 s on main (1% faster).
📖 Linting Swift with this PR took 4.11 s vs 4.11 s on main (0% slower).
📖 Linting VLC with this PR took 1.07 s vs 1.05 s on main (1% slower).
📖 Linting Wire with this PR took 17.04 s vs 17.01 s on main (0% slower).
📖 Linting WordPress with this PR took 11.18 s vs 11.16 s on main (0% slower).

Here's an example of your CHANGELOG entry:

* Enable `unneeded_throws_rethrows` rule.  
  [SimplyDanny](https://github.com/SimplyDanny)
  [#issue_number](https://github.com/realm/SwiftLint/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 Danger

@SimplyDanny SimplyDanny merged commit 9e5a526 into main Nov 3, 2025
25 checks passed
@SimplyDanny SimplyDanny deleted the enable-unneeded-throws branch November 3, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants