{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/atom-jshint/issues/150","labels_url":"https://api.github.com/repos/sindresorhus/atom-jshint/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/atom-jshint/issues/150/comments","events_url":"https://api.github.com/repos/sindresorhus/atom-jshint/issues/150/events","html_url":"https://github.com/sindresorhus/atom-jshint/issues/150","id":116708241,"number":150,"title":"Atom crashes if .jshintrc-file extends doesnt exist","user":{"login":"flash1293","id":1508364,"avatar_url":"https://avatars.githubusercontent.com/u/1508364?v=3","gravatar_id":"","url":"https://api.github.com/users/flash1293","html_url":"https://github.com/flash1293","followers_url":"https://api.github.com/users/flash1293/followers","following_url":"https://api.github.com/users/flash1293/following{/other_user}","gists_url":"https://api.github.com/users/flash1293/gists{/gist_id}","starred_url":"https://api.github.com/users/flash1293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flash1293/subscriptions","organizations_url":"https://api.github.com/users/flash1293/orgs","repos_url":"https://api.github.com/users/flash1293/repos","events_url":"https://api.github.com/users/flash1293/events{/privacy}","received_events_url":"https://api.github.com/users/flash1293/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-13T06:16:39Z","updated_at":"2015-12-17T20:26:52Z","closed_at":null,"body":"In jshint there is an option to extend a jshintrc-file by another one http://jshint.com/docs/cli/ (look for Special options > extends). If a non-existing file is entered as the extends-parameter, jshint crashes atom (never seen this before).\r\n\r\nStep to reproduce:\r\n* Open a new folder\r\n* Create a `.jshintrc`-file: ```{\"extends\":\"../../../not/existing/at/all\"}````\r\n* Create a js-file in the same folder\r\n* Open the js-file\r\n* > crash"},"comment":{"url":"https://api.github.com/repos/sindresorhus/atom-jshint/issues/comments/165573343","html_url":"https://github.com/sindresorhus/atom-jshint/issues/150#issuecomment-165573343","issue_url":"https://api.github.com/repos/sindresorhus/atom-jshint/issues/150","id":165573343,"user":{"login":"dkebler","id":1316185,"avatar_url":"https://avatars.githubusercontent.com/u/1316185?v=3","gravatar_id":"","url":"https://api.github.com/users/dkebler","html_url":"https://github.com/dkebler","followers_url":"https://api.github.com/users/dkebler/followers","following_url":"https://api.github.com/users/dkebler/following{/other_user}","gists_url":"https://api.github.com/users/dkebler/gists{/gist_id}","starred_url":"https://api.github.com/users/dkebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkebler/subscriptions","organizations_url":"https://api.github.com/users/dkebler/orgs","repos_url":"https://api.github.com/users/dkebler/repos","events_url":"https://api.github.com/users/dkebler/events{/privacy}","received_events_url":"https://api.github.com/users/dkebler/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T20:26:52Z","updated_at":"2015-12-17T20:26:52Z","body":"me too. \r\nMy extended file path was fine but inside that extended file was a syntax error in that file...result => atom crash.\r\n\r\nI used jshint command line and it reported the parse error.  Once I fixed that and jshint CL was happy no more atom crashing when opening a .js file."}}