{"action":"opened","issue":{"url":"https://api.github.com/repos/rossPatton/stylint/issues/316","repository_url":"https://api.github.com/repos/rossPatton/stylint","labels_url":"https://api.github.com/repos/rossPatton/stylint/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/rossPatton/stylint/issues/316/comments","events_url":"https://api.github.com/repos/rossPatton/stylint/issues/316/events","html_url":"https://github.com/rossPatton/stylint/issues/316","id":157894329,"number":316,"title":"Keyframe interpolation not valid","user":{"login":"webdif","id":1285888,"avatar_url":"https://avatars.githubusercontent.com/u/1285888?v=3","gravatar_id":"","url":"https://api.github.com/users/webdif","html_url":"https://github.com/webdif","followers_url":"https://api.github.com/users/webdif/followers","following_url":"https://api.github.com/users/webdif/following{/other_user}","gists_url":"https://api.github.com/users/webdif/gists{/gist_id}","starred_url":"https://api.github.com/users/webdif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdif/subscriptions","organizations_url":"https://api.github.com/users/webdif/orgs","repos_url":"https://api.github.com/users/webdif/repos","events_url":"https://api.github.com/users/webdif/events{/privacy}","received_events_url":"https://api.github.com/users/webdif/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-01T12:28:09Z","updated_at":"2016-06-01T12:28:09Z","closed_at":null,"body":"Stylint display the `property is not valid` warning for this valid code:\r\n```stylus\r\n@keyframes colors\r\n\tfor $color, $index in $red $blue $black $blue $red\r\n\t\t{$index * 100% / 4} // <---- property is not valid\r\n\t\t\tbackground: $color\r\n```\r\n\r\nAfter checking the regexp in `valid.js`, it seems that we search for a non-whitespace string (`\\S`).\r\nIndeed, without spaces, it works:\r\n```stylus\r\n{$index*100%/4}\r\n```\r\n\r\nBut it is not very readable. I figure that I can add parens to \"force\" stylint to interpolate, so this works as well:\r\n```stylus\r\n{($index * 100% / 4)}\r\n```\r\n\r\nBetter, but still, parens are not needed for stylus to work.\r\nI would love to file a PR for this, but I really don't know how to implement this…"}}
{"actor":{"display_login":"webdif"}}