Skip to content

allow_implicit_init for optional_data_string_conversion should be renamed #6670

Closed

Description

@rgoldberg

New Issue Checklist

Bug Description

allow_implicit_init for optional_data_string_conversion should be renamed.

When false, it doesn't report a violation, which allows the code to remain as is.

When true, it reports a violation, which precludes the code from remaining as is.

It's the exact opposite of what it should be; include_implicit_init would be a name.

Environment

  • SwiftLint version 0.63.3

Activity

  1. SimplyDanny commented on May 27, 2026

    @SimplyDanny
    Collaborator

    That's a valid point. "allow" could mean both ways.

  2. added
    enhancement
    on May 27, 2026
  3. self-assigned this
    on May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions