realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.46k stars 2.2k forks source link

Mark rule registry as sendable #5587

Closed SimplyDanny closed 1 month ago

SimplyDanny commented 1 month ago

The @unchecked should be fine here given that the registry is initialized once at startup.

This silences a warning in Bazel which blocks release builds.

SwiftLintBot commented 1 month ago
1 Warning
:warning: If this is a user-facing change, please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.
1 Message
:book: Skipping OSSCheck because SwiftLint hasn't changed compared to 'main'

Here's an example of your CHANGELOG entry:

* Mark rule registry as sendable.  
  [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 :no_entry_sign: Danger