{"action":"closed","issue":{"url":"https://api.github.com/repos/gridsome/eslint-plugin-gridsome/issues/34","repository_url":"https://api.github.com/repos/gridsome/eslint-plugin-gridsome","labels_url":"https://api.github.com/repos/gridsome/eslint-plugin-gridsome/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/gridsome/eslint-plugin-gridsome/issues/34/comments","events_url":"https://api.github.com/repos/gridsome/eslint-plugin-gridsome/issues/34/events","html_url":"https://github.com/gridsome/eslint-plugin-gridsome/issues/34","id":493698224,"node_id":"MDU6SXNzdWU0OTM2OTgyMjQ=","number":34,"title":"g-link consider attributes `href`","user":{"login":"tyankatsu0105","id":28397593,"node_id":"MDQ6VXNlcjI4Mzk3NTkz","avatar_url":"https://avatars0.githubusercontent.com/u/28397593?v=4","gravatar_id":"","url":"https://api.github.com/users/tyankatsu0105","html_url":"https://github.com/tyankatsu0105","followers_url":"https://api.github.com/users/tyankatsu0105/followers","following_url":"https://api.github.com/users/tyankatsu0105/following{/other_user}","gists_url":"https://api.github.com/users/tyankatsu0105/gists{/gist_id}","starred_url":"https://api.github.com/users/tyankatsu0105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyankatsu0105/subscriptions","organizations_url":"https://api.github.com/users/tyankatsu0105/orgs","repos_url":"https://api.github.com/users/tyankatsu0105/repos","events_url":"https://api.github.com/users/tyankatsu0105/events{/privacy}","received_events_url":"https://api.github.com/users/tyankatsu0105/received_events","type":"User","site_admin":false},"labels":[{"id":1153949818,"node_id":"MDU6TGFiZWwxMTUzOTQ5ODE4","url":"https://api.github.com/repos/gridsome/eslint-plugin-gridsome/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"tyankatsu0105","id":28397593,"node_id":"MDQ6VXNlcjI4Mzk3NTkz","avatar_url":"https://avatars0.githubusercontent.com/u/28397593?v=4","gravatar_id":"","url":"https://api.github.com/users/tyankatsu0105","html_url":"https://github.com/tyankatsu0105","followers_url":"https://api.github.com/users/tyankatsu0105/followers","following_url":"https://api.github.com/users/tyankatsu0105/following{/other_user}","gists_url":"https://api.github.com/users/tyankatsu0105/gists{/gist_id}","starred_url":"https://api.github.com/users/tyankatsu0105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyankatsu0105/subscriptions","organizations_url":"https://api.github.com/users/tyankatsu0105/orgs","repos_url":"https://api.github.com/users/tyankatsu0105/repos","events_url":"https://api.github.com/users/tyankatsu0105/events{/privacy}","received_events_url":"https://api.github.com/users/tyankatsu0105/received_events","type":"User","site_admin":false},"assignees":[{"login":"tyankatsu0105","id":28397593,"node_id":"MDQ6VXNlcjI4Mzk3NTkz","avatar_url":"https://avatars0.githubusercontent.com/u/28397593?v=4","gravatar_id":"","url":"https://api.github.com/users/tyankatsu0105","html_url":"https://github.com/tyankatsu0105","followers_url":"https://api.github.com/users/tyankatsu0105/followers","following_url":"https://api.github.com/users/tyankatsu0105/following{/other_user}","gists_url":"https://api.github.com/users/tyankatsu0105/gists{/gist_id}","starred_url":"https://api.github.com/users/tyankatsu0105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyankatsu0105/subscriptions","organizations_url":"https://api.github.com/users/tyankatsu0105/orgs","repos_url":"https://api.github.com/users/tyankatsu0105/repos","events_url":"https://api.github.com/users/tyankatsu0105/events{/privacy}","received_events_url":"https://api.github.com/users/tyankatsu0105/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-09-15T05:37:23Z","updated_at":"2019-09-15T06:27:27Z","closed_at":"2019-09-15T06:27:27Z","author_association":"MEMBER","body":"**Please write rule name what you want to improve:**\r\nrequire-g-link-to\r\n\r\n<!--  https://github.com/gridsome/eslint-plugin-gridsome/tree/master/docs/rules  -->\r\n\r\n**How are the rules improved?:**\r\nGridsome's `g-link` can use `href`.\r\n```vue\r\n<g-link href=\"http://www.example.com\">sample</g-link>\r\n👇\r\n<a href=\"http://www.example.com\" target=\"_blank\" rel=\"noopener\">sample</a>\r\n```\r\n\r\nNow g-link requires `to`. However if it has `href`, should work g-link.\r\n\r\n**Provide 2-3 code examples that this rule should warn about:**\r\n\r\n```vue\r\n// All correct\r\n<template>\r\n  <div>\r\n    <g-link to=\"/\" class=\"foo\">link is here</g-link>\r\n    <g-link href=\"http://www.example.com\" class=\"foo\">link is here</g-link>\r\n  </div>\r\n</template>\r\n\r\n```\r\n\r\n**Additional context**\r\n\r\n<!-- Add any other context or screenshots about the feature request here. -->\r\n"}}
{"actor":{"display_login":"tyankatsu0105"}}