{"action":"created","issue":{"url":"https://api.github.com/repos/feross/standard/issues/138","labels_url":"https://api.github.com/repos/feross/standard/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/138/comments","events_url":"https://api.github.com/repos/feross/standard/issues/138/events","html_url":"https://github.com/feross/standard/issues/138","id":75830090,"number":138,"title":"Problems with JSX support","user":{"login":"staygrimm","id":3835556,"avatar_url":"https://avatars.githubusercontent.com/u/3835556?v=3","gravatar_id":"","url":"https://api.github.com/users/staygrimm","html_url":"https://github.com/staygrimm","followers_url":"https://api.github.com/users/staygrimm/followers","following_url":"https://api.github.com/users/staygrimm/following{/other_user}","gists_url":"https://api.github.com/users/staygrimm/gists{/gist_id}","starred_url":"https://api.github.com/users/staygrimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staygrimm/subscriptions","organizations_url":"https://api.github.com/users/staygrimm/orgs","repos_url":"https://api.github.com/users/staygrimm/repos","events_url":"https://api.github.com/users/staygrimm/events{/privacy}","received_events_url":"https://api.github.com/users/staygrimm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feross/standard/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-05-13T03:36:49Z","updated_at":"2015-07-30T21:40:12Z","closed_at":"2015-07-30T21:10:00Z","body":"I've recently started playing with [segmentio/deku](https://segmentio/deku), an alternative to React, and I'm also using Babel to transpile my js and jsx code.\r\n\r\nThe first issue that I ran into was that `eslint` expects to see React imported whenever it sees JSX.  In my `.babelrc` I have already configured Deku's `element` function as the jsx pragma to use versus react, however `standard` has no way to know that and in order to get my files to properly lint I have to annoyingly include `/** @jsx element */` at the top of my files.\r\n\r\nThe second issue is that React's JSX uses `className` to denote the class property on an element, whereas Deku uses `class`.  Therefor JSX written for Deku will always error when linted by `standard`.\r\n\r\nIt makes me wonder what would happen if yet another popular framework were to be released that used a JSX-like syntax that wasn't exactly like React's JSX.\r\n\r\nIf there are any possible workarounds I would be happy to try them."},"comment":{"url":"https://api.github.com/repos/feross/standard/issues/comments/126499904","html_url":"https://github.com/feross/standard/issues/138#issuecomment-126499904","issue_url":"https://api.github.com/repos/feross/standard/issues/138","id":126499904,"user":{"login":"ashaffer","id":1871136,"avatar_url":"https://avatars.githubusercontent.com/u/1871136?v=3","gravatar_id":"","url":"https://api.github.com/users/ashaffer","html_url":"https://github.com/ashaffer","followers_url":"https://api.github.com/users/ashaffer/followers","following_url":"https://api.github.com/users/ashaffer/following{/other_user}","gists_url":"https://api.github.com/users/ashaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/ashaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashaffer/subscriptions","organizations_url":"https://api.github.com/users/ashaffer/orgs","repos_url":"https://api.github.com/users/ashaffer/repos","events_url":"https://api.github.com/users/ashaffer/events{/privacy}","received_events_url":"https://api.github.com/users/ashaffer/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T21:40:12Z","updated_at":"2015-07-30T21:40:12Z","body":"@feross Ya, I created that.  I basically just forked the react plugin and pulled out the stuff that was react specific.  It seems to work ok for my stuff so far.  I also created a fork of standard that uses it:\r\n\r\nhttps://github.com/deku-scrubs/standard"}}