-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
good first issueIssue to be taken up by new contributors yet unfamiliar with the project.Issue to be taken up by new contributors yet unfamiliar with the project.rule-requestRequests for a new rules.Requests for a new rules.
Description
New Issue Checklist
- Updated SwiftLint to the latest version
- I searched for existing GitHub issues
New Rule Request
actors in Swift already final by default. but developers still sometimes write it as final actor and it doesn't produce any compiler warnings. But basically final is redundant in this case. similar to internal ACL.
I don't see any configuration for the rule. and I think it should be enabled by default as it doesn't change "logic".
final actor DataStorage {
->
actor DataStorage {
https://github.com/swiftlang/swift-evolution/blob/main/proposals/0306-actors.md#actors-2
hey are reference types like classes, but do not support inheritance, and therefore do not have (or need) features such as
requiredandconvenienceinitializers,overriding, or class members,openandfinal.
Metadata
Metadata
Assignees
Labels
good first issueIssue to be taken up by new contributors yet unfamiliar with the project.Issue to be taken up by new contributors yet unfamiliar with the project.rule-requestRequests for a new rules.Requests for a new rules.