{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/31","repository_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue","labels_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/31/comments","events_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/31/events","html_url":"https://github.com/vuejs/eslint-plugin-vue/issues/31","id":236649397,"node_id":"MDU6SXNzdWUyMzY2NDkzOTc=","number":31,"title":"html-no-self-closing: Ignore components option","user":{"login":"Akryum","id":2798204,"node_id":"MDQ6VXNlcjI3OTgyMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2798204?v=4","gravatar_id":"","url":"https://api.github.com/users/Akryum","html_url":"https://github.com/Akryum","followers_url":"https://api.github.com/users/Akryum/followers","following_url":"https://api.github.com/users/Akryum/following{/other_user}","gists_url":"https://api.github.com/users/Akryum/gists{/gist_id}","starred_url":"https://api.github.com/users/Akryum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akryum/subscriptions","organizations_url":"https://api.github.com/users/Akryum/orgs","repos_url":"https://api.github.com/users/Akryum/repos","events_url":"https://api.github.com/users/Akryum/events{/privacy}","received_events_url":"https://api.github.com/users/Akryum/received_events","type":"User","site_admin":false},"labels":[{"id":618977488,"node_id":"MDU6TGFiZWw2MTg5Nzc0ODg=","url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/labels/accepted%20proposition","name":"accepted proposition","color":"3db22e","default":false},{"id":432980365,"node_id":"MDU6TGFiZWw0MzI5ODAzNjU=","url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":618977510,"node_id":"MDU6TGFiZWw2MTg5Nzc1MTA=","url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/labels/work%20in%20progress","name":"work in progress","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"mysticatea","id":1937871,"node_id":"MDQ6VXNlcjE5Mzc4NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1937871?v=4","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false},"assignees":[{"login":"mysticatea","id":1937871,"node_id":"MDQ6VXNlcjE5Mzc4NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1937871?v=4","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/milestones/2","html_url":"https://github.com/vuejs/eslint-plugin-vue/milestone/2","labels_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/milestones/2/labels","id":2605691,"node_id":"MDk6TWlsZXN0b25lMjYwNTY5MQ==","number":2,"title":"v4.0.0 - Official release","description":"","creator":{"login":"michalsnik","id":4093559,"node_id":"MDQ6VXNlcjQwOTM1NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4093559?v=4","gravatar_id":"","url":"https://api.github.com/users/michalsnik","html_url":"https://github.com/michalsnik","followers_url":"https://api.github.com/users/michalsnik/followers","following_url":"https://api.github.com/users/michalsnik/following{/other_user}","gists_url":"https://api.github.com/users/michalsnik/gists{/gist_id}","starred_url":"https://api.github.com/users/michalsnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalsnik/subscriptions","organizations_url":"https://api.github.com/users/michalsnik/orgs","repos_url":"https://api.github.com/users/michalsnik/repos","events_url":"https://api.github.com/users/michalsnik/events{/privacy}","received_events_url":"https://api.github.com/users/michalsnik/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":30,"state":"closed","created_at":"2017-06-26T21:27:19Z","updated_at":"2018-03-24T11:58:45Z","due_on":null,"closed_at":"2018-03-24T11:58:45Z"},"comments":6,"created_at":"2017-06-17T09:07:20Z","updated_at":"2018-08-28T13:14:56Z","closed_at":"2017-08-08T14:44:36Z","author_association":"MEMBER","body":"I think it is pretty common in Vue templates (for example inside `.vue` files, not in HTML page) to write self-closing component, for example: `<ui-dropdown :options=\"options\" />`. It also don't cause any potential issue since the component will be rendered in HTML even before being put in the DOM thanks to the template compiler.\r\n\r\nIt would be nice if the recommended config had an option set to the `html-no-self-closing` rule to ignore non-HTML tags.\r\n\r\nThis should then be reported:\r\n\r\n```html\r\n<div />\r\n<ui-dropdown />\r\n```\r\n\r\nThis shouldn't be reported:\r\n\r\n```html\r\n<div></div>\r\n<ui-dropdown />\r\n```"},"comment":{"url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/comments/416579556","html_url":"https://github.com/vuejs/eslint-plugin-vue/issues/31#issuecomment-416579556","issue_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/31","id":416579556,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjU3OTU1Ng==","user":{"login":"molerat619","id":3458576,"node_id":"MDQ6VXNlcjM0NTg1NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/3458576?v=4","gravatar_id":"","url":"https://api.github.com/users/molerat619","html_url":"https://github.com/molerat619","followers_url":"https://api.github.com/users/molerat619/followers","following_url":"https://api.github.com/users/molerat619/following{/other_user}","gists_url":"https://api.github.com/users/molerat619/gists{/gist_id}","starred_url":"https://api.github.com/users/molerat619/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molerat619/subscriptions","organizations_url":"https://api.github.com/users/molerat619/orgs","repos_url":"https://api.github.com/users/molerat619/repos","events_url":"https://api.github.com/users/molerat619/events{/privacy}","received_events_url":"https://api.github.com/users/molerat619/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T13:14:56Z","updated_at":"2018-08-28T13:14:56Z","author_association":"NONE","body":"I generally like `<div></div>` over `</div>` so I would like to use the rule accordingly. How can I turn that check off for certain tags like `<img .../>`, `<br />` or `<input ... />`?"}}
{"actor":{"display_login":"molerat619"}}