{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/1420","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/1420/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/1420/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/1420/events","html_url":"https://github.com/facebook/flow/issues/1420","id":134725140,"number":1420,"title":"Flow is trying to parse JSON files as JS","user":{"login":"grncdr","id":82634,"avatar_url":"https://avatars.githubusercontent.com/u/82634?v=3","gravatar_id":"","url":"https://api.github.com/users/grncdr","html_url":"https://github.com/grncdr","followers_url":"https://api.github.com/users/grncdr/followers","following_url":"https://api.github.com/users/grncdr/following{/other_user}","gists_url":"https://api.github.com/users/grncdr/gists{/gist_id}","starred_url":"https://api.github.com/users/grncdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grncdr/subscriptions","organizations_url":"https://api.github.com/users/grncdr/orgs","repos_url":"https://api.github.com/users/grncdr/repos","events_url":"https://api.github.com/users/grncdr/events{/privacy}","received_events_url":"https://api.github.com/users/grncdr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/flow/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mroch","id":3012,"avatar_url":"https://avatars.githubusercontent.com/u/3012?v=3","gravatar_id":"","url":"https://api.github.com/users/mroch","html_url":"https://github.com/mroch","followers_url":"https://api.github.com/users/mroch/followers","following_url":"https://api.github.com/users/mroch/following{/other_user}","gists_url":"https://api.github.com/users/mroch/gists{/gist_id}","starred_url":"https://api.github.com/users/mroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroch/subscriptions","organizations_url":"https://api.github.com/users/mroch/orgs","repos_url":"https://api.github.com/users/mroch/repos","events_url":"https://api.github.com/users/mroch/events{/privacy}","received_events_url":"https://api.github.com/users/mroch/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-02-18T23:06:05Z","updated_at":"2016-02-23T22:48:07Z","closed_at":null,"body":"A small repo to demonstrate: https://github.com/grncdr/flowtest, running `flow status` produces the following output:\r\n\r\n```\r\nsrc/wat.json:1\r\n  1: []\r\n     ^ Unexpected token [\r\n\r\n\r\nFound 1 error\r\n```\r\n\r\nThis happens on the current master: 079271416e89552d23f903ede11c93592ab5f149, I don't know when it was introduced. It currently breaks flow for most any project using a non-trivial amount of npm packages, as these often have static JSON files for test fixtures and whatnot that flow will now find and break on.\r\n\r\nOther than that, the intersection & union type fixes in `master` are awesome! Keep up the great work on Flow! :heart: :heart:"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/187949290","html_url":"https://github.com/facebook/flow/issues/1420#issuecomment-187949290","issue_url":"https://api.github.com/repos/facebook/flow/issues/1420","id":187949290,"user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T22:48:07Z","updated_at":"2016-02-23T22:48:07Z","body":"@jamiter unfortunately none of these absurd workarounds work if you use a module with a name like `owasp-password-strength-test`"}}