{"action":"created","issue":{"url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/271","labels_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/271/comments","events_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/271/events","html_url":"https://github.com/Gillespie59/eslint-plugin-angular/issues/271","id":117196131,"number":271,"title":"Use component API instead of the directive API ","user":{"login":"Gillespie59","id":555768,"avatar_url":"https://avatars.githubusercontent.com/u/555768?v=3","gravatar_id":"","url":"https://api.github.com/users/Gillespie59","html_url":"https://github.com/Gillespie59","followers_url":"https://api.github.com/users/Gillespie59/followers","following_url":"https://api.github.com/users/Gillespie59/following{/other_user}","gists_url":"https://api.github.com/users/Gillespie59/gists{/gist_id}","starred_url":"https://api.github.com/users/Gillespie59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gillespie59/subscriptions","organizations_url":"https://api.github.com/users/Gillespie59/orgs","repos_url":"https://api.github.com/users/Gillespie59/repos","events_url":"https://api.github.com/users/Gillespie59/events{/privacy}","received_events_url":"https://api.github.com/users/Gillespie59/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/labels/Rule","name":"Rule","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T19:10:07Z","updated_at":"2015-11-16T19:14:42Z","closed_at":null,"body":"With AngularJS 1.5, we have now a new way to create directive, thanks to a new `component` method. This method will make the migration to Angular2 easier. \r\nWe should create a rule that will verify the use of this new method instead of the old one. "},"comment":{"url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/comments/157140243","html_url":"https://github.com/Gillespie59/eslint-plugin-angular/issues/271#issuecomment-157140243","issue_url":"https://api.github.com/repos/Gillespie59/eslint-plugin-angular/issues/271","id":157140243,"user":{"login":"tilmanpotthof","id":157532,"avatar_url":"https://avatars.githubusercontent.com/u/157532?v=3","gravatar_id":"","url":"https://api.github.com/users/tilmanpotthof","html_url":"https://github.com/tilmanpotthof","followers_url":"https://api.github.com/users/tilmanpotthof/followers","following_url":"https://api.github.com/users/tilmanpotthof/following{/other_user}","gists_url":"https://api.github.com/users/tilmanpotthof/gists{/gist_id}","starred_url":"https://api.github.com/users/tilmanpotthof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilmanpotthof/subscriptions","organizations_url":"https://api.github.com/users/tilmanpotthof/orgs","repos_url":"https://api.github.com/users/tilmanpotthof/repos","events_url":"https://api.github.com/users/tilmanpotthof/events{/privacy}","received_events_url":"https://api.github.com/users/tilmanpotthof/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T19:14:42Z","updated_at":"2015-11-16T19:14:42Z","body":"I think we should add a tag to the documentation for which angular versions a rule makes seance, to help users to identify useful rules for their project.\n"}}