Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 1, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original issue description:

New Issue Checklist

Bug Description

https://realm.github.io/SwiftLint/non_optional_string_data_conversion.html only triggers with code like "foo".data(using: .utf8) but not string.data(using: .utf8)

Environment

  • SwiftLint version: 0.59.1

Fixes #6094.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

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.

non_optional_string_data_conversion does not trigger with non-literal strings

2 participants