Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 751 Bytes

File metadata and controls

45 lines (33 loc) · 751 Bytes

keyframe-block-no-duplicate-selectors

Disallow duplicate selectors within keyframe blocks.

@keyframes foo { 0% {} 0% {} }
/**                    ↑
 *                     This duplicate selector */

This rule is case-insensitive.

Options

true

The following patterns are considered problems:

@keyframes foo { 0% {} 0% {} }
@keyframes foo { from {} from {} }
@keyframes foo { from {} FROM {} }

The following patterns are not considered problems:

@keyframes foo { 0% {} 100% {} }
@keyframes foo { from {} to {} }