{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/javascript/issues/204","repository_url":"https://api.github.com/repos/Shopify/javascript","labels_url":"https://api.github.com/repos/Shopify/javascript/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/javascript/issues/204/comments","events_url":"https://api.github.com/repos/Shopify/javascript/issues/204/events","html_url":"https://github.com/Shopify/javascript/pull/204","id":165333432,"number":204,"title":"Minor linting updates","user":{"login":"lemonmade","id":3012583,"avatar_url":"https://avatars.githubusercontent.com/u/3012583?v=3","gravatar_id":"","url":"https://api.github.com/users/lemonmade","html_url":"https://github.com/lemonmade","followers_url":"https://api.github.com/users/lemonmade/followers","following_url":"https://api.github.com/users/lemonmade/following{/other_user}","gists_url":"https://api.github.com/users/lemonmade/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonmade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonmade/subscriptions","organizations_url":"https://api.github.com/users/lemonmade/orgs","repos_url":"https://api.github.com/users/lemonmade/repos","events_url":"https://api.github.com/users/lemonmade/events{/privacy}","received_events_url":"https://api.github.com/users/lemonmade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T14:22:16Z","updated_at":"2016-07-13T15:09:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Shopify/javascript/pulls/204","html_url":"https://github.com/Shopify/javascript/pull/204","diff_url":"https://github.com/Shopify/javascript/pull/204.diff","patch_url":"https://github.com/Shopify/javascript/pull/204.patch"},"body":"This PR makes a few small JavaScript linting/ styleguide updates:\r\n\r\n- Made it so that `require-flow` allows `@flow` to appear in a line comment (which is apparently allowed now).\r\n- Removed the requirement to omit the braces for arrow functions that have only a return statement and updated the guidance for them to suggest (but not require) omitting the braces for simple return-only arrow functions.\r\n- Turned off linting rules that enforced sorting of properties in React components. This was annoying in my experience and doesn't have the granularity to make it work well with class properties.\r\n- Turned off a rule that required you to use a default export when your module exports only one identifier. IMO some modules make more sense as groups of named exports (usually utility-like things), even if you currently only have one export from that group.\r\n\r\nThoughts? @GoodForOneFare @bouk @tessalt @Shopify/fed "},"comment":{"url":"https://api.github.com/repos/Shopify/javascript/issues/comments/232385828","html_url":"https://github.com/Shopify/javascript/pull/204#issuecomment-232385828","issue_url":"https://api.github.com/repos/Shopify/javascript/issues/204","id":232385828,"user":{"login":"GoodForOneFare","id":673655,"avatar_url":"https://avatars.githubusercontent.com/u/673655?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodForOneFare","html_url":"https://github.com/GoodForOneFare","followers_url":"https://api.github.com/users/GoodForOneFare/followers","following_url":"https://api.github.com/users/GoodForOneFare/following{/other_user}","gists_url":"https://api.github.com/users/GoodForOneFare/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodForOneFare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodForOneFare/subscriptions","organizations_url":"https://api.github.com/users/GoodForOneFare/orgs","repos_url":"https://api.github.com/users/GoodForOneFare/repos","events_url":"https://api.github.com/users/GoodForOneFare/events{/privacy}","received_events_url":"https://api.github.com/users/GoodForOneFare/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T15:09:31Z","updated_at":"2016-07-13T15:09:31Z","body":"👍 LGTM."}}
{"actor":{"display_login":"GoodForOneFare"}}