{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-jshint/issues/158","labels_url":"https://api.github.com/repos/AtomLinter/linter-jshint/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-jshint/issues/158/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-jshint/issues/158/events","html_url":"https://github.com/AtomLinter/linter-jshint/issues/158","id":99016532,"number":158,"title":"Crash when typing typeof","user":{"login":"ricardograca","id":1457035,"avatar_url":"https://avatars.githubusercontent.com/u/1457035?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardograca","html_url":"https://github.com/ricardograca","followers_url":"https://api.github.com/users/ricardograca/followers","following_url":"https://api.github.com/users/ricardograca/following{/other_user}","gists_url":"https://api.github.com/users/ricardograca/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardograca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardograca/subscriptions","organizations_url":"https://api.github.com/users/ricardograca/orgs","repos_url":"https://api.github.com/users/ricardograca/repos","events_url":"https://api.github.com/users/ricardograca/events{/privacy}","received_events_url":"https://api.github.com/users/ricardograca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-04T17:16:09Z","updated_at":"2015-08-31T22:43:50Z","closed_at":null,"body":"Whenever I type `typeof` the following error shows up. After that happens just moving the cursor around, or typing anything anywhere else in the file will also trigger the error. If I finish writing the `typeof` statement (e.g. `if (typeof myVar === 'string') {}`), delete it, or comment it out, the error isn't shown any more.\r\n\r\n```\r\n/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:5521 throw err; ^ TypeError: Cannot read property 'identifier' of undefined at Object.nud (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:2396:10) at expression (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:888:34) at Object.fud (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:3873:16) at expression (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:885:32) at statement (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:1635:9) at statements (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:1678:16) at block (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:1797:13) at doFunction (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:3103:5) at Object.nud (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:3852:14) at expression (/home/ricardo/.atom/packages/linter-jshint/node_modules/jshint/src/jshint.js:888:34)\r\n```"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-jshint/issues/comments/136520133","html_url":"https://github.com/AtomLinter/linter-jshint/issues/158#issuecomment-136520133","issue_url":"https://api.github.com/repos/AtomLinter/linter-jshint/issues/158","id":136520133,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T22:43:50Z","updated_at":"2015-08-31T22:43:50Z","body":"@ricardograca I have a few free hours and will be doing that now."}}