{"action":"created","issue":{"url":"https://api.github.com/repos/ramda/ramda/issues/1529","labels_url":"https://api.github.com/repos/ramda/ramda/issues/1529/labels{/name}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1529/comments","events_url":"https://api.github.com/repos/ramda/ramda/issues/1529/events","html_url":"https://github.com/ramda/ramda/pull/1529","id":118226694,"number":1529,"title":"Replace jshint and jscs with eslint","user":{"login":"gilligan","id":27668,"avatar_url":"https://avatars.githubusercontent.com/u/27668?v=3","gravatar_id":"","url":"https://api.github.com/users/gilligan","html_url":"https://github.com/gilligan","followers_url":"https://api.github.com/users/gilligan/followers","following_url":"https://api.github.com/users/gilligan/following{/other_user}","gists_url":"https://api.github.com/users/gilligan/gists{/gist_id}","starred_url":"https://api.github.com/users/gilligan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilligan/subscriptions","organizations_url":"https://api.github.com/users/gilligan/orgs","repos_url":"https://api.github.com/users/gilligan/repos","events_url":"https://api.github.com/users/gilligan/events{/privacy}","received_events_url":"https://api.github.com/users/gilligan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-21T23:09:14Z","updated_at":"2015-12-10T14:54:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1529","html_url":"https://github.com/ramda/ramda/pull/1529","diff_url":"https://github.com/ramda/ramda/pull/1529.diff","patch_url":"https://github.com/ramda/ramda/pull/1529.patch"},"body":"### what\r\nAs mentioned on gitter I would like to replace `jshint` and `jscs` with `eslint`. \r\n\r\n### why\r\neslint is flexible and powerful enough to replace the functionality of both tools. Even if rules beyond current capabilities might be required at some point there is a nice plugin architecture which would allow for custom rules. Apart from that jshint is somewhat archaic.\r\n\r\n### status\r\nI created a `.eslintrc` based on the existing linting configurations. The configuration was extended with rules such as http://eslint.org/docs/rules/wrap-iife and http://eslint.org/docs/rules/one-var plus a various rules for catching obvious mistakes such as dangling commas or duplicate function arguments. Obviously all sources were fixed to adhere to the rules and `npm run lint` reports no errors."},"comment":{"url":"https://api.github.com/repos/ramda/ramda/issues/comments/163649114","html_url":"https://github.com/ramda/ramda/pull/1529#issuecomment-163649114","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1529","id":163649114,"user":{"login":"gilligan","id":27668,"avatar_url":"https://avatars.githubusercontent.com/u/27668?v=3","gravatar_id":"","url":"https://api.github.com/users/gilligan","html_url":"https://github.com/gilligan","followers_url":"https://api.github.com/users/gilligan/followers","following_url":"https://api.github.com/users/gilligan/following{/other_user}","gists_url":"https://api.github.com/users/gilligan/gists{/gist_id}","starred_url":"https://api.github.com/users/gilligan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilligan/subscriptions","organizations_url":"https://api.github.com/users/gilligan/orgs","repos_url":"https://api.github.com/users/gilligan/repos","events_url":"https://api.github.com/users/gilligan/events{/privacy}","received_events_url":"https://api.github.com/users/gilligan/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T14:54:28Z","updated_at":"2015-12-10T14:54:28Z","body":"stashed the commits, updated title and description. The changes are of course pretty much all over the place but all of them very minimal."}}