Skip to content

Rule Change: check comma-separated keyframe selector also #459

@Tanujkanti4441

Description

@Tanujkanti4441

What rule do you want to change?

no-duplicate-keyframe-selectors

What change do you want to make?

Generate more warnings

How do you think the change should be implemented?

A new default behavior

Example code

@keyframes a {
  0%, 50% { opacity: 0; }
  50% { opacity: 1; }
}

What does the rule currently do for this code?

It does not report 50% as a duplicate keyframe selector.

What will the rule do after it's changed?

It will report duplicate selectors in the @keyframe even if it is written as comma-separated selector.

Participation

  • I am willing to submit a pull request to implement this change.

AI acknowledgment

  • I did not use AI to generate this issue report.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

Additional comments

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status

Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions