{"action":"created","issue":{"url":"https://api.github.com/repos/feross/standard/issues/91","labels_url":"https://api.github.com/repos/feross/standard/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/feross/standard/issues/91/comments","events_url":"https://api.github.com/repos/feross/standard/issues/91/events","html_url":"https://github.com/feross/standard/issues/91","id":64694041,"number":91,"title":"Unusual yoda expressions","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feross/standard/labels/blocked%20on%20eslint","name":"blocked on eslint","color":"f7c6c7"},{"url":"https://api.github.com/repos/feross/standard/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-03-27T04:54:09Z","updated_at":"2015-07-10T20:43:10Z","closed_at":"2015-07-10T20:43:10Z","body":"I recently had a case where I was using the following code in a test:\r\n\r\n``` javascript\r\n{\r\n  a: true,\r\n  b: false,\r\n  c: 1 > 2\r\n}\r\n```\r\n\r\nStandard blew up on me with `Expected literal to be on the right side of >`.\r\nApparently this is due to it attempting to adhere a yoda condition ruling.\r\n\r\nIs this intentional?\r\n\r\nI understand this is most likely a question for eslint, not standard, but I thought I'd ask first."},"comment":{"url":"https://api.github.com/repos/feross/standard/issues/comments/120517096","html_url":"https://github.com/feross/standard/issues/91#issuecomment-120517096","issue_url":"https://api.github.com/repos/feross/standard/issues/91","id":120517096,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T20:43:10Z","updated_at":"2015-07-10T20:43:10Z","body":"This is fixed in eslint 0.24.1. Run `npm update` to get the fix."}}