Skip to content

comparison-with-itself only flags comparison with Name #10713

@harupy

Description

@harupy

Question about the comparison-with-itself rule. Is there a reason this rule only flags comparison with Name (e.g. a == a)? Is it challenging to extend it to support any comparison where the left hand expression is equal to the right hand expression (e.g. a.b == a.b)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    False Negative 🦋No message is emitted but something is wrong with the codeNeeds PRThis issue is accepted, sufficiently specified and now needs an implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions