{"action":"closed","issue":{"url":"https://api.github.com/repos/DataDog/pre-commit-hooks/issues/1","labels_url":"https://api.github.com/repos/DataDog/pre-commit-hooks/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/pre-commit-hooks/issues/1/comments","events_url":"https://api.github.com/repos/DataDog/pre-commit-hooks/issues/1/events","html_url":"https://github.com/DataDog/pre-commit-hooks/issues/1","id":78260602,"number":1,"title":"jshint and jsxhint hooks don't work","user":{"login":"allegrem","id":1447649,"avatar_url":"https://avatars.githubusercontent.com/u/1447649?v=3","gravatar_id":"","url":"https://api.github.com/users/allegrem","html_url":"https://github.com/allegrem","followers_url":"https://api.github.com/users/allegrem/followers","following_url":"https://api.github.com/users/allegrem/following{/other_user}","gists_url":"https://api.github.com/users/allegrem/gists{/gist_id}","starred_url":"https://api.github.com/users/allegrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegrem/subscriptions","organizations_url":"https://api.github.com/users/allegrem/orgs","repos_url":"https://api.github.com/users/allegrem/repos","events_url":"https://api.github.com/users/allegrem/events{/privacy}","received_events_url":"https://api.github.com/users/allegrem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-19T21:38:46Z","updated_at":"2015-05-19T22:43:18Z","closed_at":"2015-05-19T22:43:18Z","body":"When a `.js` or `.jsx` file is edited (and even if it does not contain any lint error), the _jshint_ or _jsxhint_ hook fails.\r\n\r\n```\r\n$ pre-commit run jshint\r\nJSHint.......................................................................................................................Failed\r\nhookid: jshint\r\n\r\nERROR: Unknown option -\r\n\r\n$ pre-commit run jsxhint\r\nJSXHint......................................................................................................................Failed\r\nhookid: jsxhint\r\n\r\nERROR: Unknown option -\r\n```"}}