{"action":"opened","number":1076,"pull_request":{"url":"https://api.github.com/repos/airbnb/javascript/pulls/1076","id":85361868,"html_url":"https://github.com/airbnb/javascript/pull/1076","diff_url":"https://github.com/airbnb/javascript/pull/1076.diff","patch_url":"https://github.com/airbnb/javascript/pull/1076.patch","issue_url":"https://api.github.com/repos/airbnb/javascript/issues/1076","number":1076,"state":"open","locked":false,"title":"Set 'allowTemplateLiterals' to true on 'quotes' rule.","user":{"login":"Jarwain","id":1279360,"avatar_url":"https://avatars.githubusercontent.com/u/1279360?v=3","gravatar_id":"","url":"https://api.github.com/users/Jarwain","html_url":"https://github.com/Jarwain","followers_url":"https://api.github.com/users/Jarwain/followers","following_url":"https://api.github.com/users/Jarwain/following{/other_user}","gists_url":"https://api.github.com/users/Jarwain/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarwain/subscriptions","organizations_url":"https://api.github.com/users/Jarwain/orgs","repos_url":"https://api.github.com/users/Jarwain/repos","events_url":"https://api.github.com/users/Jarwain/events{/privacy}","received_events_url":"https://api.github.com/users/Jarwain/received_events","type":"User","site_admin":false},"body":"Added allowTemplateLiterals option to quotes rule. This prevents a quotes error on a template string.\r\n\r\nCurrent Behavior:\r\n```\r\nconst foo = 'foo';\r\nconst foobar = foo + 'bar';\r\n// Error Thrown: prefer-template\r\nconst foobar_template = `@{foo}bar`;\r\n// Error Thrown: quotes (strings must be in single quotes)\r\n```\r\n\r\nNew Behavior:\r\n```\r\nconst foo = 'foo';\r\nconst foobar = foo + 'bar';\r\n// Error Thrown: prefer-template\r\nconst foobar_template = `@{foo}bar`;\r\n// No error thrown\r\n```","created_at":"2016-09-15T08:17:40Z","updated_at":"2016-09-15T08:17:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/airbnb/javascript/pulls/1076/commits","review_comments_url":"https://api.github.com/repos/airbnb/javascript/pulls/1076/comments","review_comment_url":"https://api.github.com/repos/airbnb/javascript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/airbnb/javascript/issues/1076/comments","statuses_url":"https://api.github.com/repos/airbnb/javascript/statuses/6cd2ce0986efd9faaf8ec0051129ea09a390eb6a","head":{"label":"Jarwain:master","ref":"master","sha":"6cd2ce0986efd9faaf8ec0051129ea09a390eb6a","user":{"login":"Jarwain","id":1279360,"avatar_url":"https://avatars.githubusercontent.com/u/1279360?v=3","gravatar_id":"","url":"https://api.github.com/users/Jarwain","html_url":"https://github.com/Jarwain","followers_url":"https://api.github.com/users/Jarwain/followers","following_url":"https://api.github.com/users/Jarwain/following{/other_user}","gists_url":"https://api.github.com/users/Jarwain/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarwain/subscriptions","organizations_url":"https://api.github.com/users/Jarwain/orgs","repos_url":"https://api.github.com/users/Jarwain/repos","events_url":"https://api.github.com/users/Jarwain/events{/privacy}","received_events_url":"https://api.github.com/users/Jarwain/received_events","type":"User","site_admin":false},"repo":{"id":68276985,"name":"javascript","full_name":"Jarwain/javascript","owner":{"login":"Jarwain","id":1279360,"avatar_url":"https://avatars.githubusercontent.com/u/1279360?v=3","gravatar_id":"","url":"https://api.github.com/users/Jarwain","html_url":"https://github.com/Jarwain","followers_url":"https://api.github.com/users/Jarwain/followers","following_url":"https://api.github.com/users/Jarwain/following{/other_user}","gists_url":"https://api.github.com/users/Jarwain/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarwain/subscriptions","organizations_url":"https://api.github.com/users/Jarwain/orgs","repos_url":"https://api.github.com/users/Jarwain/repos","events_url":"https://api.github.com/users/Jarwain/events{/privacy}","received_events_url":"https://api.github.com/users/Jarwain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jarwain/javascript","description":"JavaScript Style Guide","fork":true,"url":"https://api.github.com/repos/Jarwain/javascript","forks_url":"https://api.github.com/repos/Jarwain/javascript/forks","keys_url":"https://api.github.com/repos/Jarwain/javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jarwain/javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jarwain/javascript/teams","hooks_url":"https://api.github.com/repos/Jarwain/javascript/hooks","issue_events_url":"https://api.github.com/repos/Jarwain/javascript/issues/events{/number}","events_url":"https://api.github.com/repos/Jarwain/javascript/events","assignees_url":"https://api.github.com/repos/Jarwain/javascript/assignees{/user}","branches_url":"https://api.github.com/repos/Jarwain/javascript/branches{/branch}","tags_url":"https://api.github.com/repos/Jarwain/javascript/tags","blobs_url":"https://api.github.com/repos/Jarwain/javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jarwain/javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jarwain/javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jarwain/javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jarwain/javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/Jarwain/javascript/languages","stargazers_url":"https://api.github.com/repos/Jarwain/javascript/stargazers","contributors_url":"https://api.github.com/repos/Jarwain/javascript/contributors","subscribers_url":"https://api.github.com/repos/Jarwain/javascript/subscribers","subscription_url":"https://api.github.com/repos/Jarwain/javascript/subscription","commits_url":"https://api.github.com/repos/Jarwain/javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jarwain/javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jarwain/javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jarwain/javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jarwain/javascript/contents/{+path}","compare_url":"https://api.github.com/repos/Jarwain/javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jarwain/javascript/merges","archive_url":"https://api.github.com/repos/Jarwain/javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jarwain/javascript/downloads","issues_url":"https://api.github.com/repos/Jarwain/javascript/issues{/number}","pulls_url":"https://api.github.com/repos/Jarwain/javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/Jarwain/javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/Jarwain/javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jarwain/javascript/labels{/name}","releases_url":"https://api.github.com/repos/Jarwain/javascript/releases{/id}","deployments_url":"https://api.github.com/repos/Jarwain/javascript/deployments","created_at":"2016-09-15T08:10:58Z","updated_at":"2016-09-15T08:11:01Z","pushed_at":"2016-09-15T08:11:28Z","git_url":"git://github.com/Jarwain/javascript.git","ssh_url":"git@github.com:Jarwain/javascript.git","clone_url":"https://github.com/Jarwain/javascript.git","svn_url":"https://github.com/Jarwain/javascript","homepage":null,"size":3738,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"airbnb:master","ref":"master","sha":"a2a35a8dbadc229c402b9752412d22ce5c42f33b","user":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"repo":{"id":6498492,"name":"javascript","full_name":"airbnb/javascript","owner":{"login":"airbnb","id":698437,"avatar_url":"https://avatars.githubusercontent.com/u/698437?v=3","gravatar_id":"","url":"https://api.github.com/users/airbnb","html_url":"https://github.com/airbnb","followers_url":"https://api.github.com/users/airbnb/followers","following_url":"https://api.github.com/users/airbnb/following{/other_user}","gists_url":"https://api.github.com/users/airbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/airbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airbnb/subscriptions","organizations_url":"https://api.github.com/users/airbnb/orgs","repos_url":"https://api.github.com/users/airbnb/repos","events_url":"https://api.github.com/users/airbnb/events{/privacy}","received_events_url":"https://api.github.com/users/airbnb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/airbnb/javascript","description":"JavaScript Style Guide","fork":false,"url":"https://api.github.com/repos/airbnb/javascript","forks_url":"https://api.github.com/repos/airbnb/javascript/forks","keys_url":"https://api.github.com/repos/airbnb/javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airbnb/javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airbnb/javascript/teams","hooks_url":"https://api.github.com/repos/airbnb/javascript/hooks","issue_events_url":"https://api.github.com/repos/airbnb/javascript/issues/events{/number}","events_url":"https://api.github.com/repos/airbnb/javascript/events","assignees_url":"https://api.github.com/repos/airbnb/javascript/assignees{/user}","branches_url":"https://api.github.com/repos/airbnb/javascript/branches{/branch}","tags_url":"https://api.github.com/repos/airbnb/javascript/tags","blobs_url":"https://api.github.com/repos/airbnb/javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airbnb/javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airbnb/javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/airbnb/javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airbnb/javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/airbnb/javascript/languages","stargazers_url":"https://api.github.com/repos/airbnb/javascript/stargazers","contributors_url":"https://api.github.com/repos/airbnb/javascript/contributors","subscribers_url":"https://api.github.com/repos/airbnb/javascript/subscribers","subscription_url":"https://api.github.com/repos/airbnb/javascript/subscription","commits_url":"https://api.github.com/repos/airbnb/javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/airbnb/javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/airbnb/javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/airbnb/javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/airbnb/javascript/contents/{+path}","compare_url":"https://api.github.com/repos/airbnb/javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airbnb/javascript/merges","archive_url":"https://api.github.com/repos/airbnb/javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airbnb/javascript/downloads","issues_url":"https://api.github.com/repos/airbnb/javascript/issues{/number}","pulls_url":"https://api.github.com/repos/airbnb/javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/airbnb/javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/airbnb/javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airbnb/javascript/labels{/name}","releases_url":"https://api.github.com/repos/airbnb/javascript/releases{/id}","deployments_url":"https://api.github.com/repos/airbnb/javascript/deployments","created_at":"2012-11-01T23:13:50Z","updated_at":"2016-09-15T07:52:30Z","pushed_at":"2016-09-14T19:55:40Z","git_url":"git://github.com/airbnb/javascript.git","ssh_url":"git@github.com:airbnb/javascript.git","clone_url":"https://github.com/airbnb/javascript.git","svn_url":"https://github.com/airbnb/javascript","homepage":null,"size":3738,"stargazers_count":40660,"watchers_count":40660,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7689,"mirror_url":null,"open_issues_count":63,"forks":7689,"open_issues":63,"watchers":40660,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/airbnb/javascript/pulls/1076"},"html":{"href":"https://github.com/airbnb/javascript/pull/1076"},"issue":{"href":"https://api.github.com/repos/airbnb/javascript/issues/1076"},"comments":{"href":"https://api.github.com/repos/airbnb/javascript/issues/1076/comments"},"review_comments":{"href":"https://api.github.com/repos/airbnb/javascript/pulls/1076/comments"},"review_comment":{"href":"https://api.github.com/repos/airbnb/javascript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/airbnb/javascript/pulls/1076/commits"},"statuses":{"href":"https://api.github.com/repos/airbnb/javascript/statuses/6cd2ce0986efd9faaf8ec0051129ea09a390eb6a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Jarwain"}}