{"action":"created","issue":{"url":"https://api.github.com/repos/mohebifar/lebab/issues/108","repository_url":"https://api.github.com/repos/mohebifar/lebab","labels_url":"https://api.github.com/repos/mohebifar/lebab/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/mohebifar/lebab/issues/108/comments","events_url":"https://api.github.com/repos/mohebifar/lebab/issues/108/events","html_url":"https://github.com/mohebifar/lebab/issues/108","id":138819233,"number":108,"title":"Switch from JSHint to ESLint","user":{"login":"nene","id":118201,"avatar_url":"https://avatars.githubusercontent.com/u/118201?v=3","gravatar_id":"","url":"https://api.github.com/users/nene","html_url":"https://github.com/nene","followers_url":"https://api.github.com/users/nene/followers","following_url":"https://api.github.com/users/nene/following{/other_user}","gists_url":"https://api.github.com/users/nene/gists{/gist_id}","starred_url":"https://api.github.com/users/nene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nene/subscriptions","organizations_url":"https://api.github.com/users/nene/orgs","repos_url":"https://api.github.com/users/nene/repos","events_url":"https://api.github.com/users/nene/events{/privacy}","received_events_url":"https://api.github.com/users/nene/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-06T18:18:03Z","updated_at":"2016-03-16T07:32:16Z","closed_at":"2016-03-16T07:28:34Z","body":"JSHint doesn't really work well with ES6, we should switch to ESLint which has much better ES6 support (and even a bunch of ES6-specific options) plus in general much more configurable.\r\n\r\nIf there are no counterarguments, I'll do the switch."},"comment":{"url":"https://api.github.com/repos/mohebifar/lebab/issues/comments/197196416","html_url":"https://github.com/mohebifar/lebab/issues/108#issuecomment-197196416","issue_url":"https://api.github.com/repos/mohebifar/lebab/issues/108","id":197196416,"user":{"login":"nene","id":118201,"avatar_url":"https://avatars.githubusercontent.com/u/118201?v=3","gravatar_id":"","url":"https://api.github.com/users/nene","html_url":"https://github.com/nene","followers_url":"https://api.github.com/users/nene/followers","following_url":"https://api.github.com/users/nene/following{/other_user}","gists_url":"https://api.github.com/users/nene/gists{/gist_id}","starred_url":"https://api.github.com/users/nene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nene/subscriptions","organizations_url":"https://api.github.com/users/nene/orgs","repos_url":"https://api.github.com/users/nene/repos","events_url":"https://api.github.com/users/nene/events{/privacy}","received_events_url":"https://api.github.com/users/nene/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T07:32:16Z","updated_at":"2016-03-16T07:32:16Z","body":"Switched to ESLint and enabled most of the ESLint rules. Most I could just enable, for others I had to make a few tweaks to the code to make it conform.\r\n\r\nTried to keep all our existing JSHint rules, but not all rules had equivalent ESLint rules and JSHint also has bunch of rules that it enabled by default. Tried to make the best of this."}}