{"action":"opened","issue":{"url":"https://api.github.com/repos/shinnn/vscode-stylelint/issues/221","repository_url":"https://api.github.com/repos/shinnn/vscode-stylelint","labels_url":"https://api.github.com/repos/shinnn/vscode-stylelint/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/shinnn/vscode-stylelint/issues/221/comments","events_url":"https://api.github.com/repos/shinnn/vscode-stylelint/issues/221/events","html_url":"https://github.com/shinnn/vscode-stylelint/issues/221","id":335402483,"node_id":"MDU6SXNzdWUzMzU0MDI0ODM=","number":221,"title":"Does not correctly work in JSX/React as it seems","user":{"login":"swernerx","id":145201,"node_id":"MDQ6VXNlcjE0NTIwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/145201?v=4","gravatar_id":"","url":"https://api.github.com/users/swernerx","html_url":"https://github.com/swernerx","followers_url":"https://api.github.com/users/swernerx/followers","following_url":"https://api.github.com/users/swernerx/following{/other_user}","gists_url":"https://api.github.com/users/swernerx/gists{/gist_id}","starred_url":"https://api.github.com/users/swernerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernerx/subscriptions","organizations_url":"https://api.github.com/users/swernerx/orgs","repos_url":"https://api.github.com/users/swernerx/repos","events_url":"https://api.github.com/users/swernerx/events{/privacy}","received_events_url":"https://api.github.com/users/swernerx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T13:15:46Z","updated_at":"2018-06-25T13:15:46Z","closed_at":null,"author_association":"NONE","body":"I was kind of positively surprised that the extension report issues when using inline styles in JSX. Unfortunately it does not work well, so immediately after the first hurray, I am looking for ways to disable or fix it.\r\n\r\nCode which is checked:\r\n\r\n```js\r\n<LeafletMap\r\n  zoom={12}\r\n  style={{ width: 300, height: 250 }}\r\n  lat={latitude\"}\r\n  long={longitude\"}\r\n/>\r\n```\r\n\r\nErrors reported:\r\n\r\n 88:51  ✖  Expected a trailing semicolon              declaration-block-trailing-semicolon\r\n 88:53  ✖  Unexpected missing end-of-source newline   no-missing-end-of-source-newline\r\n\r\nI think the main issue is with the postcss processing here, but the extension should somehow make it possible to limit the files which are checked e.g. extensions."}}
{"actor":{"display_login":"swernerx"}}