{"action":"created","issue":{"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/61","labels_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/61/comments","events_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/61/events","html_url":"https://github.com/phase2/grunt-drupal-tasks/pull/61","id":49844389,"number":61,"title":"#42 Add ESLint support with grunt-eslint [WIP]","user":{"login":"mdeltito","id":69520,"avatar_url":"https://avatars.githubusercontent.com/u/69520?v=3","gravatar_id":"","url":"https://api.github.com/users/mdeltito","html_url":"https://github.com/mdeltito","followers_url":"https://api.github.com/users/mdeltito/followers","following_url":"https://api.github.com/users/mdeltito/following{/other_user}","gists_url":"https://api.github.com/users/mdeltito/gists{/gist_id}","starred_url":"https://api.github.com/users/mdeltito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdeltito/subscriptions","organizations_url":"https://api.github.com/users/mdeltito/orgs","repos_url":"https://api.github.com/users/mdeltito/repos","events_url":"https://api.github.com/users/mdeltito/events{/privacy}","received_events_url":"https://api.github.com/users/mdeltito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-23T23:26:09Z","updated_at":"2015-04-22T01:40:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/61","html_url":"https://github.com/phase2/grunt-drupal-tasks/pull/61","diff_url":"https://github.com/phase2/grunt-drupal-tasks/pull/61.diff","patch_url":"https://github.com/phase2/grunt-drupal-tasks/pull/61.patch"},"body":"In reference to #42 (and https://github.com/phase2/grunt-drupal-tasks/issues/42#issuecomment-64136831), this is what ESLint support might look like. The included .eslintrc is from https://www.drupal.org/node/1955232.\r\n\r\nNote that these example settings may not be the \"best\" for validating JS in the context of what grunt-drupal-tasks is trying to provide. They are agreed upon for D8, but whether or not they should be the suggested defaults for all Drupal projects is probably up for debate."},"comment":{"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/comments/94995134","html_url":"https://github.com/phase2/grunt-drupal-tasks/pull/61#issuecomment-94995134","issue_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/61","id":94995134,"user":{"login":"grayside","id":283489,"avatar_url":"https://avatars.githubusercontent.com/u/283489?v=3","gravatar_id":"","url":"https://api.github.com/users/grayside","html_url":"https://github.com/grayside","followers_url":"https://api.github.com/users/grayside/followers","following_url":"https://api.github.com/users/grayside/following{/other_user}","gists_url":"https://api.github.com/users/grayside/gists{/gist_id}","starred_url":"https://api.github.com/users/grayside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grayside/subscriptions","organizations_url":"https://api.github.com/users/grayside/orgs","repos_url":"https://api.github.com/users/grayside/repos","events_url":"https://api.github.com/users/grayside/events{/privacy}","received_events_url":"https://api.github.com/users/grayside/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T01:40:22Z","updated_at":"2015-04-22T01:40:22Z","body":"This issue needs\r\n* Updates to the D8 rules\r\n* D7 rules\r\n* Incorporation of eslint task into validate task.\r\n* Test coverage to at least demonstrate the successful operation of eslint as implemented"}}