{"action":"created","comment":{"url":"https://api.github.com/repos/prettier/prettier/pulls/comments/121271238","pull_request_review_id":43310661,"id":121271238,"diff_hunk":"@@ -163,6 +165,10 @@ function getText(options, node) {\n   return options.originalText.slice(util.locStart(node), util.locEnd(node));\n }\n \n+function deIndent(options, doc) {\n+  return align(-options.tabWidth, doc);","path":"src/multiparser.js","position":41,"original_position":41,"commit_id":"86c35151bd41789d0cd1dfd80b451638a3e7c685","original_commit_id":"86c35151bd41789d0cd1dfd80b451638a3e7c685","user":{"login":"vjeux","id":197597,"avatar_url":"https://avatars3.githubusercontent.com/u/197597?v=3","gravatar_id":"","url":"https://api.github.com/users/vjeux","html_url":"https://github.com/vjeux","followers_url":"https://api.github.com/users/vjeux/followers","following_url":"https://api.github.com/users/vjeux/following{/other_user}","gists_url":"https://api.github.com/users/vjeux/gists{/gist_id}","starred_url":"https://api.github.com/users/vjeux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjeux/subscriptions","organizations_url":"https://api.github.com/users/vjeux/orgs","repos_url":"https://api.github.com/users/vjeux/repos","events_url":"https://api.github.com/users/vjeux/events{/privacy}","received_events_url":"https://api.github.com/users/vjeux/received_events","type":"User","site_admin":false},"body":"I've been trying to avoid doing that. Could you instead not indent when you are about to print them like you do for html?","created_at":"2017-06-11T03:28:58Z","updated_at":"2017-06-11T03:28:58Z","html_url":"https://github.com/prettier/prettier/pull/2094#discussion_r121271238","pull_request_url":"https://api.github.com/repos/prettier/prettier/pulls/2094","_links":{"self":{"href":"https://api.github.com/repos/prettier/prettier/pulls/comments/121271238"},"html":{"href":"https://github.com/prettier/prettier/pull/2094#discussion_r121271238"},"pull_request":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2094"}}},"pull_request":{"url":"https://api.github.com/repos/prettier/prettier/pulls/2094","id":125012021,"html_url":"https://github.com/prettier/prettier/pull/2094","diff_url":"https://github.com/prettier/prettier/pull/2094.diff","patch_url":"https://github.com/prettier/prettier/pull/2094.patch","issue_url":"https://api.github.com/repos/prettier/prettier/issues/2094","number":2094,"state":"open","locked":false,"title":"Don't indent embedded scripts/styles","user":{"login":"azz","id":1297597,"avatar_url":"https://avatars0.githubusercontent.com/u/1297597?v=3","gravatar_id":"","url":"https://api.github.com/users/azz","html_url":"https://github.com/azz","followers_url":"https://api.github.com/users/azz/followers","following_url":"https://api.github.com/users/azz/following{/other_user}","gists_url":"https://api.github.com/users/azz/gists{/gist_id}","starred_url":"https://api.github.com/users/azz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azz/subscriptions","organizations_url":"https://api.github.com/users/azz/orgs","repos_url":"https://api.github.com/users/azz/repos","events_url":"https://api.github.com/users/azz/events{/privacy}","received_events_url":"https://api.github.com/users/azz/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-11T03:24:37Z","updated_at":"2017-06-11T03:28:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"427bd7a12b676f823735b54da86d24f22b7f1691","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/prettier/prettier/pulls/2094/commits","review_comments_url":"https://api.github.com/repos/prettier/prettier/pulls/2094/comments","review_comment_url":"https://api.github.com/repos/prettier/prettier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/2094/comments","statuses_url":"https://api.github.com/repos/prettier/prettier/statuses/86c35151bd41789d0cd1dfd80b451638a3e7c685","head":{"label":"azz:no-indent","ref":"no-indent","sha":"86c35151bd41789d0cd1dfd80b451638a3e7c685","user":{"login":"azz","id":1297597,"avatar_url":"https://avatars0.githubusercontent.com/u/1297597?v=3","gravatar_id":"","url":"https://api.github.com/users/azz","html_url":"https://github.com/azz","followers_url":"https://api.github.com/users/azz/followers","following_url":"https://api.github.com/users/azz/following{/other_user}","gists_url":"https://api.github.com/users/azz/gists{/gist_id}","starred_url":"https://api.github.com/users/azz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azz/subscriptions","organizations_url":"https://api.github.com/users/azz/orgs","repos_url":"https://api.github.com/users/azz/repos","events_url":"https://api.github.com/users/azz/events{/privacy}","received_events_url":"https://api.github.com/users/azz/received_events","type":"User","site_admin":false},"repo":{"id":89310962,"name":"prettier","full_name":"azz/prettier","owner":{"login":"azz","id":1297597,"avatar_url":"https://avatars0.githubusercontent.com/u/1297597?v=3","gravatar_id":"","url":"https://api.github.com/users/azz","html_url":"https://github.com/azz","followers_url":"https://api.github.com/users/azz/followers","following_url":"https://api.github.com/users/azz/following{/other_user}","gists_url":"https://api.github.com/users/azz/gists{/gist_id}","starred_url":"https://api.github.com/users/azz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azz/subscriptions","organizations_url":"https://api.github.com/users/azz/orgs","repos_url":"https://api.github.com/users/azz/repos","events_url":"https://api.github.com/users/azz/events{/privacy}","received_events_url":"https://api.github.com/users/azz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azz/prettier","description":"Prettier is an opinionated JavaScript formatter.","fork":true,"url":"https://api.github.com/repos/azz/prettier","forks_url":"https://api.github.com/repos/azz/prettier/forks","keys_url":"https://api.github.com/repos/azz/prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azz/prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azz/prettier/teams","hooks_url":"https://api.github.com/repos/azz/prettier/hooks","issue_events_url":"https://api.github.com/repos/azz/prettier/issues/events{/number}","events_url":"https://api.github.com/repos/azz/prettier/events","assignees_url":"https://api.github.com/repos/azz/prettier/assignees{/user}","branches_url":"https://api.github.com/repos/azz/prettier/branches{/branch}","tags_url":"https://api.github.com/repos/azz/prettier/tags","blobs_url":"https://api.github.com/repos/azz/prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azz/prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azz/prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/azz/prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azz/prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/azz/prettier/languages","stargazers_url":"https://api.github.com/repos/azz/prettier/stargazers","contributors_url":"https://api.github.com/repos/azz/prettier/contributors","subscribers_url":"https://api.github.com/repos/azz/prettier/subscribers","subscription_url":"https://api.github.com/repos/azz/prettier/subscription","commits_url":"https://api.github.com/repos/azz/prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/azz/prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/azz/prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/azz/prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/azz/prettier/contents/{+path}","compare_url":"https://api.github.com/repos/azz/prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azz/prettier/merges","archive_url":"https://api.github.com/repos/azz/prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azz/prettier/downloads","issues_url":"https://api.github.com/repos/azz/prettier/issues{/number}","pulls_url":"https://api.github.com/repos/azz/prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/azz/prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/azz/prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azz/prettier/labels{/name}","releases_url":"https://api.github.com/repos/azz/prettier/releases{/id}","deployments_url":"https://api.github.com/repos/azz/prettier/deployments","created_at":"2017-04-25T02:59:18Z","updated_at":"2017-04-25T02:59:21Z","pushed_at":"2017-06-11T03:23:50Z","git_url":"git://github.com/azz/prettier.git","ssh_url":"git@github.com:azz/prettier.git","clone_url":"https://github.com/azz/prettier.git","svn_url":"https://github.com/azz/prettier","homepage":"https://prettier.github.io/prettier/","size":13417,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prettier:master","ref":"master","sha":"fdb7467de7e8f0791e25f580e75aee09273bf136","user":{"login":"prettier","id":25822731,"avatar_url":"https://avatars1.githubusercontent.com/u/25822731?v=3","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"repo":{"id":75104123,"name":"prettier","full_name":"prettier/prettier","owner":{"login":"prettier","id":25822731,"avatar_url":"https://avatars1.githubusercontent.com/u/25822731?v=3","gravatar_id":"","url":"https://api.github.com/users/prettier","html_url":"https://github.com/prettier","followers_url":"https://api.github.com/users/prettier/followers","following_url":"https://api.github.com/users/prettier/following{/other_user}","gists_url":"https://api.github.com/users/prettier/gists{/gist_id}","starred_url":"https://api.github.com/users/prettier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettier/subscriptions","organizations_url":"https://api.github.com/users/prettier/orgs","repos_url":"https://api.github.com/users/prettier/repos","events_url":"https://api.github.com/users/prettier/events{/privacy}","received_events_url":"https://api.github.com/users/prettier/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prettier/prettier","description":"Prettier is an opinionated code formatter.","fork":false,"url":"https://api.github.com/repos/prettier/prettier","forks_url":"https://api.github.com/repos/prettier/prettier/forks","keys_url":"https://api.github.com/repos/prettier/prettier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prettier/prettier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prettier/prettier/teams","hooks_url":"https://api.github.com/repos/prettier/prettier/hooks","issue_events_url":"https://api.github.com/repos/prettier/prettier/issues/events{/number}","events_url":"https://api.github.com/repos/prettier/prettier/events","assignees_url":"https://api.github.com/repos/prettier/prettier/assignees{/user}","branches_url":"https://api.github.com/repos/prettier/prettier/branches{/branch}","tags_url":"https://api.github.com/repos/prettier/prettier/tags","blobs_url":"https://api.github.com/repos/prettier/prettier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prettier/prettier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prettier/prettier/git/refs{/sha}","trees_url":"https://api.github.com/repos/prettier/prettier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prettier/prettier/statuses/{sha}","languages_url":"https://api.github.com/repos/prettier/prettier/languages","stargazers_url":"https://api.github.com/repos/prettier/prettier/stargazers","contributors_url":"https://api.github.com/repos/prettier/prettier/contributors","subscribers_url":"https://api.github.com/repos/prettier/prettier/subscribers","subscription_url":"https://api.github.com/repos/prettier/prettier/subscription","commits_url":"https://api.github.com/repos/prettier/prettier/commits{/sha}","git_commits_url":"https://api.github.com/repos/prettier/prettier/git/commits{/sha}","comments_url":"https://api.github.com/repos/prettier/prettier/comments{/number}","issue_comment_url":"https://api.github.com/repos/prettier/prettier/issues/comments{/number}","contents_url":"https://api.github.com/repos/prettier/prettier/contents/{+path}","compare_url":"https://api.github.com/repos/prettier/prettier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prettier/prettier/merges","archive_url":"https://api.github.com/repos/prettier/prettier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prettier/prettier/downloads","issues_url":"https://api.github.com/repos/prettier/prettier/issues{/number}","pulls_url":"https://api.github.com/repos/prettier/prettier/pulls{/number}","milestones_url":"https://api.github.com/repos/prettier/prettier/milestones{/number}","notifications_url":"https://api.github.com/repos/prettier/prettier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prettier/prettier/labels{/name}","releases_url":"https://api.github.com/repos/prettier/prettier/releases{/id}","deployments_url":"https://api.github.com/repos/prettier/prettier/deployments","created_at":"2016-11-29T17:13:37Z","updated_at":"2017-06-11T02:55:34Z","pushed_at":"2017-06-11T03:24:37Z","git_url":"git://github.com/prettier/prettier.git","ssh_url":"git@github.com:prettier/prettier.git","clone_url":"https://github.com/prettier/prettier.git","svn_url":"https://github.com/prettier/prettier","homepage":"https://prettier.github.io/prettier/","size":13489,"stargazers_count":10892,"watchers_count":10892,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":381,"mirror_url":null,"open_issues_count":113,"forks":381,"open_issues":113,"watchers":10892,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2094"},"html":{"href":"https://github.com/prettier/prettier/pull/2094"},"issue":{"href":"https://api.github.com/repos/prettier/prettier/issues/2094"},"comments":{"href":"https://api.github.com/repos/prettier/prettier/issues/2094/comments"},"review_comments":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2094/comments"},"review_comment":{"href":"https://api.github.com/repos/prettier/prettier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prettier/prettier/pulls/2094/commits"},"statuses":{"href":"https://api.github.com/repos/prettier/prettier/statuses/86c35151bd41789d0cd1dfd80b451638a3e7c685"}}}}
{"actor":{"display_login":"vjeux"}}