{"action":"opened","issue":{"url":"https://api.github.com/repos/rossPatton/stylint/issues/145","labels_url":"https://api.github.com/repos/rossPatton/stylint/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/rossPatton/stylint/issues/145/comments","events_url":"https://api.github.com/repos/rossPatton/stylint/issues/145/events","html_url":"https://github.com/rossPatton/stylint/issues/145","id":95943153,"number":145,"title":"`colons` catches not only usage at declarations","user":{"login":"kizu","id":177485,"avatar_url":"https://avatars.githubusercontent.com/u/177485?v=3","gravatar_id":"","url":"https://api.github.com/users/kizu","html_url":"https://github.com/kizu","followers_url":"https://api.github.com/users/kizu/followers","following_url":"https://api.github.com/users/kizu/following{/other_user}","gists_url":"https://api.github.com/users/kizu/gists{/gist_id}","starred_url":"https://api.github.com/users/kizu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kizu/subscriptions","organizations_url":"https://api.github.com/users/kizu/orgs","repos_url":"https://api.github.com/users/kizu/repos","events_url":"https://api.github.com/users/kizu/events{/privacy}","received_events_url":"https://api.github.com/users/kizu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-19T19:46:21Z","updated_at":"2015-07-19T19:46:21Z","closed_at":null,"body":"In Stylint 1.0.9 `\"colons\": \"always\"` gives warnings not only for usage with declarations, but also in some cases where there shouldn't be a colon.\r\n\r\n1. Return statements:\r\n\r\n    ``` styl\r\n    foo()\r\n      return 'bar'\r\n\r\n    .test\r\n      width: foo()\r\n    ```\r\n\r\n2. Stuff inside mixins (conditions and some other expressions):\r\n\r\n    ``` styl\r\n    foo()\r\n      if $bar\r\n        width: 10px\r\n    ```\r\n\r\n    ``` styl\r\n    foo()\r\n      $bar = $baz\r\n    ```\r\n"}}