{"action":"created","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/1105","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/1105/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/1105/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/1105/events","html_url":"https://github.com/mochajs/mocha/pull/1105","id":25300829,"number":1105,"title":"Pass the --use_strict flag through to mocha","user":{"login":"b0ri5","id":553421,"avatar_url":"https://avatars.githubusercontent.com/u/553421?v=3","gravatar_id":"","url":"https://api.github.com/users/b0ri5","html_url":"https://github.com/b0ri5","followers_url":"https://api.github.com/users/b0ri5/followers","following_url":"https://api.github.com/users/b0ri5/following{/other_user}","gists_url":"https://api.github.com/users/b0ri5/gists{/gist_id}","starred_url":"https://api.github.com/users/b0ri5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b0ri5/subscriptions","organizations_url":"https://api.github.com/users/b0ri5/orgs","repos_url":"https://api.github.com/users/b0ri5/repos","events_url":"https://api.github.com/users/b0ri5/events{/privacy}","received_events_url":"https://api.github.com/users/b0ri5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-01-09T07:34:55Z","updated_at":"2015-10-06T03:58:42Z","closed_at":"2014-01-21T08:36:45Z","pull_request":{"url":"https://api.github.com/repos/mochajs/mocha/pulls/1105","html_url":"https://github.com/mochajs/mocha/pull/1105","diff_url":"https://github.com/mochajs/mocha/pull/1105.diff","patch_url":"https://github.com/mochajs/mocha/pull/1105.patch"},"body":"Passes the --use_strict flag through to support harmony/ES6.\r\n\r\nAdds a test to ensure that it works (only verifies a usage of 'let' but that should be enough).\r\nThe test is goofy because should.js isn't --use_strict compatible so the rule needs to remove test/mocha.opts for its run and return it after completion.\r\n\r\nRequires mocha be clean with respect to --use_strict; added two vars to do this. The test will ensure it stays this way."},"comment":{"url":"https://api.github.com/repos/mochajs/mocha/issues/comments/145735732","html_url":"https://github.com/mochajs/mocha/pull/1105#issuecomment-145735732","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/1105","id":145735732,"user":{"login":"garrett-gottlieb","id":1219054,"avatar_url":"https://avatars.githubusercontent.com/u/1219054?v=3","gravatar_id":"","url":"https://api.github.com/users/garrett-gottlieb","html_url":"https://github.com/garrett-gottlieb","followers_url":"https://api.github.com/users/garrett-gottlieb/followers","following_url":"https://api.github.com/users/garrett-gottlieb/following{/other_user}","gists_url":"https://api.github.com/users/garrett-gottlieb/gists{/gist_id}","starred_url":"https://api.github.com/users/garrett-gottlieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrett-gottlieb/subscriptions","organizations_url":"https://api.github.com/users/garrett-gottlieb/orgs","repos_url":"https://api.github.com/users/garrett-gottlieb/repos","events_url":"https://api.github.com/users/garrett-gottlieb/events{/privacy}","received_events_url":"https://api.github.com/users/garrett-gottlieb/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T03:58:42Z","updated_at":"2015-10-06T03:58:42Z","body":"+1"}}