{"action":"created","comment":{"url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/comments/201754346","pull_request_review_id":136316915,"id":201754346,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTc1NDM0Ng==","diff_hunk":"@@ -0,0 +1,33 @@\n+/**\n+ * @fileoverview Restrict or warn use of v-html to prevent XSS attack\n+ * @author Nathan Zeplowitz\n+ */\n+'use strict'\n+const utils = require('../utils')\n+\n+// ------------------------------------------------------------------------------\n+// Rule Definitionutilu\n+// ------------------------------------------------------------------------------\n+\n+module.exports = {\n+  meta: {\n+    docs: {\n+      description: 'disallow use of v-html to prevent XSS attack',\n+      category: 'security enhancement',","path":"lib/rules/no-v-html.js","position":16,"original_position":16,"commit_id":"0cf3a79a578a521b141d4072a615b7b9491e9166","original_commit_id":"0cf3a79a578a521b141d4072a615b7b9491e9166","user":{"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},"body":"Please use `undefined` as category. We're going to assign categories in major releases, as it results in automatic generation of sharable configs.","created_at":"2018-07-11T16:14:16Z","updated_at":"2018-07-11T16:14:30Z","html_url":"https://github.com/vuejs/eslint-plugin-vue/pull/435#discussion_r201754346","pull_request_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/comments/201754346"},"html":{"href":"https://github.com/vuejs/eslint-plugin-vue/pull/435#discussion_r201754346"},"pull_request":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435"}}},"pull_request":{"url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435","id":175778316,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc1Nzc4MzE2","html_url":"https://github.com/vuejs/eslint-plugin-vue/pull/435","diff_url":"https://github.com/vuejs/eslint-plugin-vue/pull/435.diff","patch_url":"https://github.com/vuejs/eslint-plugin-vue/pull/435.patch","issue_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/435","number":435,"state":"open","locked":false,"title":"⭐️New: Add `vue/no-v-html` rule","user":{"login":"n-zeplo","id":6126436,"node_id":"MDQ6VXNlcjYxMjY0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6126436?v=4","gravatar_id":"","url":"https://api.github.com/users/n-zeplo","html_url":"https://github.com/n-zeplo","followers_url":"https://api.github.com/users/n-zeplo/followers","following_url":"https://api.github.com/users/n-zeplo/following{/other_user}","gists_url":"https://api.github.com/users/n-zeplo/gists{/gist_id}","starred_url":"https://api.github.com/users/n-zeplo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-zeplo/subscriptions","organizations_url":"https://api.github.com/users/n-zeplo/orgs","repos_url":"https://api.github.com/users/n-zeplo/repos","events_url":"https://api.github.com/users/n-zeplo/events{/privacy}","received_events_url":"https://api.github.com/users/n-zeplo/received_events","type":"User","site_admin":false},"body":"This PR adds vue/no-v-html rule.\r\nThis implements rule proposed in #434 ","created_at":"2018-03-18T22:48:06Z","updated_at":"2018-07-11T16:14:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28d4367e29a71eedce8cc3146be40ca3a3a951a1","assignee":{"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},"assignees":[{"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}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":633528071,"node_id":"MDU6TGFiZWw2MzM1MjgwNzE=","url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/labels/semver-minor","name":"semver-minor","color":"ccf3ff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435/commits","review_comments_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435/comments","review_comment_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/435/comments","statuses_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/statuses/0cf3a79a578a521b141d4072a615b7b9491e9166","head":{"label":"n-zeplo:master","ref":"master","sha":"0cf3a79a578a521b141d4072a615b7b9491e9166","user":{"login":"n-zeplo","id":6126436,"node_id":"MDQ6VXNlcjYxMjY0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6126436?v=4","gravatar_id":"","url":"https://api.github.com/users/n-zeplo","html_url":"https://github.com/n-zeplo","followers_url":"https://api.github.com/users/n-zeplo/followers","following_url":"https://api.github.com/users/n-zeplo/following{/other_user}","gists_url":"https://api.github.com/users/n-zeplo/gists{/gist_id}","starred_url":"https://api.github.com/users/n-zeplo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-zeplo/subscriptions","organizations_url":"https://api.github.com/users/n-zeplo/orgs","repos_url":"https://api.github.com/users/n-zeplo/repos","events_url":"https://api.github.com/users/n-zeplo/events{/privacy}","received_events_url":"https://api.github.com/users/n-zeplo/received_events","type":"User","site_admin":false},"repo":{"id":125569527,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU1Njk1Mjc=","name":"eslint-plugin-vue","full_name":"n-zeplo/eslint-plugin-vue","owner":{"login":"n-zeplo","id":6126436,"node_id":"MDQ6VXNlcjYxMjY0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6126436?v=4","gravatar_id":"","url":"https://api.github.com/users/n-zeplo","html_url":"https://github.com/n-zeplo","followers_url":"https://api.github.com/users/n-zeplo/followers","following_url":"https://api.github.com/users/n-zeplo/following{/other_user}","gists_url":"https://api.github.com/users/n-zeplo/gists{/gist_id}","starred_url":"https://api.github.com/users/n-zeplo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-zeplo/subscriptions","organizations_url":"https://api.github.com/users/n-zeplo/orgs","repos_url":"https://api.github.com/users/n-zeplo/repos","events_url":"https://api.github.com/users/n-zeplo/events{/privacy}","received_events_url":"https://api.github.com/users/n-zeplo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/n-zeplo/eslint-plugin-vue","description":"Official ESLint plugin for Vue.js","fork":true,"url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue","forks_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/forks","keys_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/teams","hooks_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/hooks","issue_events_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/issues/events{/number}","events_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/events","assignees_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/assignees{/user}","branches_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/branches{/branch}","tags_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/tags","blobs_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/git/refs{/sha}","trees_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/statuses/{sha}","languages_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/languages","stargazers_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/stargazers","contributors_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/contributors","subscribers_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/subscribers","subscription_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/subscription","commits_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/commits{/sha}","git_commits_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/git/commits{/sha}","comments_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/comments{/number}","issue_comment_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/issues/comments{/number}","contents_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/contents/{+path}","compare_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/merges","archive_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/downloads","issues_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/issues{/number}","pulls_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/pulls{/number}","milestones_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/milestones{/number}","notifications_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/labels{/name}","releases_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/releases{/id}","deployments_url":"https://api.github.com/repos/n-zeplo/eslint-plugin-vue/deployments","created_at":"2018-03-16T21:02:33Z","updated_at":"2018-03-18T22:45:40Z","pushed_at":"2018-03-18T22:45:38Z","git_url":"git://github.com/n-zeplo/eslint-plugin-vue.git","ssh_url":"git@github.com:n-zeplo/eslint-plugin-vue.git","clone_url":"https://github.com/n-zeplo/eslint-plugin-vue.git","svn_url":"https://github.com/n-zeplo/eslint-plugin-vue","homepage":"","size":628,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vuejs:master","ref":"master","sha":"4c254039e628cd6ca16a1db4a406984b3654bac9","user":{"login":"vuejs","id":6128107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMjgxMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6128107?v=4","gravatar_id":"","url":"https://api.github.com/users/vuejs","html_url":"https://github.com/vuejs","followers_url":"https://api.github.com/users/vuejs/followers","following_url":"https://api.github.com/users/vuejs/following{/other_user}","gists_url":"https://api.github.com/users/vuejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs/subscriptions","organizations_url":"https://api.github.com/users/vuejs/orgs","repos_url":"https://api.github.com/users/vuejs/repos","events_url":"https://api.github.com/users/vuejs/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs/received_events","type":"Organization","site_admin":false},"repo":{"id":66855798,"node_id":"MDEwOlJlcG9zaXRvcnk2Njg1NTc5OA==","name":"eslint-plugin-vue","full_name":"vuejs/eslint-plugin-vue","owner":{"login":"vuejs","id":6128107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMjgxMDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6128107?v=4","gravatar_id":"","url":"https://api.github.com/users/vuejs","html_url":"https://github.com/vuejs","followers_url":"https://api.github.com/users/vuejs/followers","following_url":"https://api.github.com/users/vuejs/following{/other_user}","gists_url":"https://api.github.com/users/vuejs/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs/subscriptions","organizations_url":"https://api.github.com/users/vuejs/orgs","repos_url":"https://api.github.com/users/vuejs/repos","events_url":"https://api.github.com/users/vuejs/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vuejs/eslint-plugin-vue","description":"Official ESLint plugin for Vue.js","fork":false,"url":"https://api.github.com/repos/vuejs/eslint-plugin-vue","forks_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/forks","keys_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/teams","hooks_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/hooks","issue_events_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/events{/number}","events_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/events","assignees_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/assignees{/user}","branches_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/branches{/branch}","tags_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/tags","blobs_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/statuses/{sha}","languages_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/languages","stargazers_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/stargazers","contributors_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/contributors","subscribers_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/subscribers","subscription_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/subscription","commits_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/contents/{+path}","compare_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/merges","archive_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/downloads","issues_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues{/number}","pulls_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls{/number}","milestones_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/milestones{/number}","notifications_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/labels{/name}","releases_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/releases{/id}","deployments_url":"https://api.github.com/repos/vuejs/eslint-plugin-vue/deployments","created_at":"2016-08-29T15:26:53Z","updated_at":"2018-07-11T16:10:20Z","pushed_at":"2018-07-11T16:10:13Z","git_url":"git://github.com/vuejs/eslint-plugin-vue.git","ssh_url":"git@github.com:vuejs/eslint-plugin-vue.git","clone_url":"https://github.com/vuejs/eslint-plugin-vue.git","svn_url":"https://github.com/vuejs/eslint-plugin-vue","homepage":"","size":684,"stargazers_count":1537,"watchers_count":1537,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":145,"mirror_url":null,"archived":false,"open_issues_count":107,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":145,"open_issues":107,"watchers":1537,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435"},"html":{"href":"https://github.com/vuejs/eslint-plugin-vue/pull/435"},"issue":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/435"},"comments":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/vuejs/eslint-plugin-vue/statuses/0cf3a79a578a521b141d4072a615b7b9491e9166"}},"author_association":"NONE"}}
{"actor":{"display_login":"michalsnik"}}