{"action":"reopened","issue":{"url":"https://api.github.com/repos/brigade/scss-lint/issues/775","repository_url":"https://api.github.com/repos/brigade/scss-lint","labels_url":"https://api.github.com/repos/brigade/scss-lint/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/brigade/scss-lint/issues/775/comments","events_url":"https://api.github.com/repos/brigade/scss-lint/issues/775/events","html_url":"https://github.com/brigade/scss-lint/issues/775","id":147878128,"number":775,"title":"ColorVariable throws a false positive on variable names with dashes followed by numbers","user":{"login":"etjossem","id":1661633,"avatar_url":"https://avatars.githubusercontent.com/u/1661633?v=3","gravatar_id":"","url":"https://api.github.com/users/etjossem","html_url":"https://github.com/etjossem","followers_url":"https://api.github.com/users/etjossem/followers","following_url":"https://api.github.com/users/etjossem/following{/other_user}","gists_url":"https://api.github.com/users/etjossem/gists{/gist_id}","starred_url":"https://api.github.com/users/etjossem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etjossem/subscriptions","organizations_url":"https://api.github.com/users/etjossem/orgs","repos_url":"https://api.github.com/users/etjossem/repos","events_url":"https://api.github.com/users/etjossem/events{/privacy}","received_events_url":"https://api.github.com/users/etjossem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T21:27:46Z","updated_at":"2016-04-12T21:36:29Z","closed_at":null,"body":"In scss-lint 0.38.0, given the following variable declaration:\r\n\r\n```scss\r\n// Variations on $slate\r\n$slate-60:      #7f90a0;\r\n```\r\n\r\nScss-lint throws the following error:\r\n\r\n`app/assets/stylesheets/style-guide/base/_colors.scss:44 [W] ColorVariable: Color literals like '#7f90a0' should only be used in variable declarations; they should be referred to via variable everywhere else.`\r\n\r\nThis error should never occur on variable declarations.\r\n\r\nThe error does not occur if the variable name is changed to the following, so it may have something to do with numbers in variable names:\r\n\r\n```scss\r\n// Variations on $slate\r\n$slate-muted:      #7f90a0;\r\n```\r\n\r\n... but we also have `$blue-60: rgba($blue, .6);` and it passes, so this seems Very Weird."}}