Skip to content

Suggest using eq_ignore_ascii_case on non case-sensitive string comparision #13204

Closed
@CrazyboyQCD

Description

What it does

Lint that suggests using eq_ignore_ascii_case on non case-sensitive string comparision.

Advantage

Drawbacks

No response

Example

a.to_xx_case() == b.to_xx_case()

Could be written as:

a.eq_ignore_ascii_case(b)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-lintArea: New lints

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions