Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selector-type-no-unknown does not like keyframes with decimal value #1513

Closed
nikolas6 opened this issue Jun 23, 2016 · 2 comments
Closed

selector-type-no-unknown does not like keyframes with decimal value #1513

nikolas6 opened this issue Jun 23, 2016 · 2 comments
Assignees
Labels
status: wip is being worked on by someone type: bug a problem with a feature or rule

Comments

@nikolas6
Copy link

Stylelint 6.7.0 complains when keyframe animation has decimal value like "50.001%".

Sample:

@keyframes loadingAnimation1 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(100%, 0, 0);
  }
  50.001% {
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@jeddy3
Copy link
Member

jeddy3 commented Jun 23, 2016

@nikolas6 I've just pushed up a pending PR for this. Hopefully we can get a patch release out soon.

P.S. Please use the template when creating new issues as it helps us resolve these types of bugs a little quicker.

@nikolas6
Copy link
Author

Thanks @jeddy3 :)
Noted on the template. My first time reporting issues here.

traviskaufman added a commit to traviskaufman/stylelint that referenced this issue Jul 15, 2016
Relates to stylelint#1583, stylelint#1513. `selector-class-pattern` was yielding false positive
for fractional keyframes. This commit fixes this issue, essentially copying
the work done in PR stylelint#1514.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wip is being worked on by someone type: bug a problem with a feature or rule
Development

No branches or pull requests

2 participants