{"action":"created","issue":{"url":"https://api.github.com/repos/jeffjewiss/ember-cli-postcss/issues/1","labels_url":"https://api.github.com/repos/jeffjewiss/ember-cli-postcss/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jeffjewiss/ember-cli-postcss/issues/1/comments","events_url":"https://api.github.com/repos/jeffjewiss/ember-cli-postcss/issues/1/events","html_url":"https://github.com/jeffjewiss/ember-cli-postcss/issues/1","id":74012385,"number":1,"title":"Does not work with postcss-bem-linter","user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-07T14:46:50Z","updated_at":"2015-05-11T08:06:34Z","closed_at":null,"body":"When [postcss-bem-linter](https://github.com/necolas/postcss-bem-linter) and [postcss-log-warnings](https://github.com/davidtheclark/postcss-log-warnings) are installed (with postcss-log-warnings as the last object in the `Brocfile.js` configuration) the build is succesful, but no warnings are logged. Even though I'm importing a component that should result in a warning:\r\n\r\n`app/styles/app.css`\r\n```css\r\n@import \"./components/mycomponent.css\";\r\n```\r\n\r\n`app/styles/components/mycomponent.css`\r\n```css\r\n/** @define MyComponent */\r\n\r\n/* this should result in a warning: */\r\n.WrongName {}\r\n```\r\n\r\nI'm using [postcss-import](https://github.com/postcss/postcss-import) to process `@import` rules, could it be that this is causing problems? I believe postcss-bem-linter expects separate files, with the `@define` rule on the first line (to trigger linting). Since ember-cli-postcss looks for `app.css` or `{app-name}.css`, and only processes that, could that be the reason linting isn't triggered?\r\n\r\nIf so, can this be fixed from ember-cli-postcss, and how?"},"comment":{"url":"https://api.github.com/repos/jeffjewiss/ember-cli-postcss/issues/comments/100807357","html_url":"https://github.com/jeffjewiss/ember-cli-postcss/issues/1#issuecomment-100807357","issue_url":"https://api.github.com/repos/jeffjewiss/ember-cli-postcss/issues/1","id":100807357,"user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T08:06:34Z","updated_at":"2015-05-11T08:06:34Z","body":"Or, you could fork this plugin to use the `postprocessTree` hook, and dedicate that exclusively to linting (since that's what the `postprocessTree` hook is for). That would separate the two use-cases cleanly."}}