-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionfeature
Description
Rule details
Disallow duplicate selectors within keyframe blocks.
What type of rule is this?
Warns about a potential problem
Example code
/* eslint css/no-duplicate-keyframe-selectors: "error" */
@keyframes foo { 0% {} 0% {} } // error
@keyframes foo { from {} from {} } // error
@keyframes foo { 0% {} 100% {} } // ✅
@keyframes foo { from {} to {} } // ✅
Participation
- I am willing to submit a pull request to implement this rule.
Additional comments
corresponding stylelint rule - https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionfeature
Type
Projects
Status
Implementing