{"action":"created","issue":{"url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components/issues/207","repository_url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components","labels_url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components/issues/207/comments","events_url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components/issues/207/events","html_url":"https://github.com/styled-components/stylelint-processor-styled-components/issues/207","id":345726481,"node_id":"MDU6SXNzdWUzNDU3MjY0ODE=","number":207,"title":"No linting inside styled-is and media mixin","user":{"login":"karolisgrinkevicius","id":9420403,"node_id":"MDQ6VXNlcjk0MjA0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/9420403?v=4","gravatar_id":"","url":"https://api.github.com/users/karolisgrinkevicius","html_url":"https://github.com/karolisgrinkevicius","followers_url":"https://api.github.com/users/karolisgrinkevicius/followers","following_url":"https://api.github.com/users/karolisgrinkevicius/following{/other_user}","gists_url":"https://api.github.com/users/karolisgrinkevicius/gists{/gist_id}","starred_url":"https://api.github.com/users/karolisgrinkevicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karolisgrinkevicius/subscriptions","organizations_url":"https://api.github.com/users/karolisgrinkevicius/orgs","repos_url":"https://api.github.com/users/karolisgrinkevicius/repos","events_url":"https://api.github.com/users/karolisgrinkevicius/events{/privacy}","received_events_url":"https://api.github.com/users/karolisgrinkevicius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T11:56:04Z","updated_at":"2018-07-31T16:03:58Z","closed_at":null,"author_association":"NONE","body":"Hi. Not sure this issue might belong to `stylelint-processor-styled-components` but in fact linter ignores css within `styled-is` and `media` mixins described [here](https://github.com/styled-components/styled-components/blob/master/docs/tips-and-tricks.md#media-templates). \r\n\r\nPlease see the code snippet below which represents the parts that not working against linter even though configuration is setup correctly and works well if **NOT** wrapped into `media` mixin or `styled-is`:\r\n\r\n```jsx\r\nimport styled from 'styled-components';\r\nimport is from 'styled-is';\r\nimport { media } from 'utils/media';\r\n\r\nexport const MyStyledComponent = styled.div`\r\n  nonExistingProperty: 'nonExistingValue'; /* Works! ✅ */\r\n\r\n  ${is('active')`\r\n    nonExistingProperty: 'nonExistingValue'; /* Doesn't work! 🚫 */\r\n  `};\r\n  \r\n  ${media.sm`\r\n    nonExistingProperty: 'nonExistingValue'; /* Doesn't work! 🚫 */\r\n  `};\r\n`;\r\n```\r\n\r\n![screen shot 2018-07-30 at 14 55 23](https://user-images.githubusercontent.com/9420403/43395957-a42170e8-9408-11e8-9d23-4bfc794861f2.png)\r\n\r\n## Used dependencies\r\n* `stylelint` 9.4.0\r\n* `stylelint-processor-styled-components` 1.3.2\r\n* `styled-components` 3.3.3\r\n* `styled-is` 1.1.3"},"comment":{"url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components/issues/comments/409275449","html_url":"https://github.com/styled-components/stylelint-processor-styled-components/issues/207#issuecomment-409275449","issue_url":"https://api.github.com/repos/styled-components/stylelint-processor-styled-components/issues/207","id":409275449,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTI3NTQ0OQ==","user":{"login":"chinesedfan","id":1736154,"node_id":"MDQ6VXNlcjE3MzYxNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1736154?v=4","gravatar_id":"","url":"https://api.github.com/users/chinesedfan","html_url":"https://github.com/chinesedfan","followers_url":"https://api.github.com/users/chinesedfan/followers","following_url":"https://api.github.com/users/chinesedfan/following{/other_user}","gists_url":"https://api.github.com/users/chinesedfan/gists{/gist_id}","starred_url":"https://api.github.com/users/chinesedfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinesedfan/subscriptions","organizations_url":"https://api.github.com/users/chinesedfan/orgs","repos_url":"https://api.github.com/users/chinesedfan/repos","events_url":"https://api.github.com/users/chinesedfan/events{/privacy}","received_events_url":"https://api.github.com/users/chinesedfan/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T16:03:58Z","updated_at":"2018-07-31T16:03:58Z","author_association":"MEMBER","body":"Please refer to #182. It is hard to lint interpolations now."}}
{"actor":{"display_login":"chinesedfan"}}