{"action":"opened","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/3211","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/3211/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/3211/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/3211/events","html_url":"https://github.com/stylelint/stylelint/issues/3211","id":304184447,"number":3211,"title":"`syntax` analog for IDE","user":{"login":"andreyvolokitin","id":466394,"avatar_url":"https://avatars1.githubusercontent.com/u/466394?v=4","gravatar_id":"","url":"https://api.github.com/users/andreyvolokitin","html_url":"https://github.com/andreyvolokitin","followers_url":"https://api.github.com/users/andreyvolokitin/followers","following_url":"https://api.github.com/users/andreyvolokitin/following{/other_user}","gists_url":"https://api.github.com/users/andreyvolokitin/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyvolokitin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyvolokitin/subscriptions","organizations_url":"https://api.github.com/users/andreyvolokitin/orgs","repos_url":"https://api.github.com/users/andreyvolokitin/repos","events_url":"https://api.github.com/users/andreyvolokitin/events{/privacy}","received_events_url":"https://api.github.com/users/andreyvolokitin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-11T19:07:53Z","updated_at":"2018-03-11T19:07:53Z","closed_at":null,"author_association":"NONE","body":"<!-- Please answer the following questions. Issues that don't use this template will be closed. -->\r\n\r\nWe can use `syntax` to make stylelint recognize preferred syntax for parsing. But I can't find a similar option for IDEs and editors. I want to use SASS feature (inline comments) within regular .css files handled by postcss. I managed to make it work with ```postcss-scss``` and stylelint `syntax` so my build is passing without errors. But inside IDE (webstorm) I get errors because stylelint still parses .css as CSS. I thought that maybe there is the same `syntax` option that you can put inside `stylelint.config.js` so that editor can rely on that, but that is not the case. How should this be handled and is there a solution for this? \r\n\r\n> Which rule, if any, is this issue related to?\r\n\r\nNone\r\n\r\n> What CSS is needed to reproduce this issue?\r\n\r\n```css\r\n// Inline SASS comment\r\n```\r\n\r\n> What stylelint configuration is needed to reproduce this issue?\r\n\r\nAny config I guess\r\n\r\n> Which version of stylelint are you using?\r\n\r\n`9.1.1`\r\n\r\n> How are you running stylelint: CLI, PostCSS plugin, Node API?\r\n\r\nWebstorm-integrated stylelint with `stylelint.config.js` \r\n\r\n> Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?\r\n\r\nYes, it's related to SCSS inline comments\r\n\r\n<!--\r\nBefore posting, please check that your issue:\r\n1. Hasn't already been resolved in:\r\n  - the next release (https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)\r\n  - an upcoming major milestone (https://github.com/stylelint/stylelint/milestones)\r\n2. Hasn't already been discussed (https://github.com/stylelint/stylelint/search)\r\n-->\r\n\r\n<!--\r\nHere are the best ways to help resolve your issue:\r\n1. Figure out what needs to be done, propose it, and then write the code and submit a PR.\r\n2. If your issue is a bug, consider at least submitting a PR with failing tests.\r\n\r\nNote: GitHub issues are for stylelint bugs and enhancements, if you're looking for help or support with stylelint then stackoverflow is our preferred question and answer forum - http://stackoverflow.com/questions/tagged/stylelint\r\n-->\r\n\r\n<!-- Love stylelint? Please consider supporting our collective:\r\n👉  https://opencollective.com/stylelint/donate -->"}}
{"actor":{"display_login":"andreyvolokitin"}}