{"action":"closed","issue":{"url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/265","labels_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/265/comments","events_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/265/events","html_url":"https://github.com/Gillespie59/eslint-plugin-angular/issues/265","id":116987539,"number":265,"title":"Possible false positive for angular/di","user":{"login":"faceleg","id":1000759,"avatar_url":"https://avatars.githubusercontent.com/u/1000759?v=3","gravatar_id":"","url":"https://api.github.com/users/faceleg","html_url":"https://github.com/faceleg","followers_url":"https://api.github.com/users/faceleg/followers","following_url":"https://api.github.com/users/faceleg/following{/other_user}","gists_url":"https://api.github.com/users/faceleg/gists{/gist_id}","starred_url":"https://api.github.com/users/faceleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faceleg/subscriptions","organizations_url":"https://api.github.com/users/faceleg/orgs","repos_url":"https://api.github.com/users/faceleg/repos","events_url":"https://api.github.com/users/faceleg/events{/privacy}","received_events_url":"https://api.github.com/users/faceleg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-15T11:20:42Z","updated_at":"2015-11-15T11:23:50Z","closed_at":"2015-11-15T11:23:50Z","body":"The offending code\r\n\r\n```JS\r\n(function() {\r\n  'use strict';\r\n  // 4:3  error  You should use the function syntax for DI  angular/di\r\n  angular.module('app')\r\n    .config('$compileProvider', compileConfig);\r\n\r\n  function compileConfig($compileProvider) {\r\n    $compileProvider.debugInfoEnabled(false);\r\n  }\r\n})();\r\n```"}}