{"action":"created","comment":{"url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/comments/217166450","pull_request_review_id":154816218,"id":217166450,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzE2NjQ1MA==","diff_hunk":"@@ -86,5 +91,20 @@\n       \"coverage\",\n       \"test/**/*.js\"\n     ]\n+  },\n+  \"prettier\": {\n+    \"singleQuote\": true\n+  },\n+  \"husky\": {\n+    \"hooks\": {\n+      \"pre-commit\": \"lint-staged\"\n+    }\n+  },\n+  \"lint-staged\": {\n+    \"*.{js,json,css,md}\": [","path":"package.json","position":37,"original_position":37,"commit_id":"93267fc91759ca0fb11ab1947610a46210c20091","original_commit_id":"93267fc91759ca0fb11ab1947610a46210c20091","user":{"login":"stephenmathieson","id":571265,"node_id":"MDQ6VXNlcjU3MTI2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/571265?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenmathieson","html_url":"https://github.com/stephenmathieson","followers_url":"https://api.github.com/users/stephenmathieson/followers","following_url":"https://api.github.com/users/stephenmathieson/following{/other_user}","gists_url":"https://api.github.com/users/stephenmathieson/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenmathieson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenmathieson/subscriptions","organizations_url":"https://api.github.com/users/stephenmathieson/orgs","repos_url":"https://api.github.com/users/stephenmathieson/repos","events_url":"https://api.github.com/users/stephenmathieson/events{/privacy}","received_events_url":"https://api.github.com/users/stephenmathieson/received_events","type":"User","site_admin":false},"body":"This will yield parsing errors, since `eslint` doesn't understand JSON, CSS or Markdown.\r\n\r\nYou probably want something like this instead:\r\n\r\n```json\r\n{\r\n  \"*.js\": [ \"eslint --fix\", \"prettier --write\", \"git add\" ],\r\n  \"*.{json,css,md}\": [ \"prettier --write\", \"git add\" ]\r\n}\r\n```","created_at":"2018-09-12T19:53:13Z","updated_at":"2018-09-12T19:53:13Z","html_url":"https://github.com/dequelabs/cauldron-react/pull/30#discussion_r217166450","pull_request_url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/comments/217166450"},"html":{"href":"https://github.com/dequelabs/cauldron-react/pull/30#discussion_r217166450"},"pull_request":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30","id":215070322,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MDcwMzIy","html_url":"https://github.com/dequelabs/cauldron-react/pull/30","diff_url":"https://github.com/dequelabs/cauldron-react/pull/30.diff","patch_url":"https://github.com/dequelabs/cauldron-react/pull/30.patch","issue_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues/30","number":30,"state":"open","locked":false,"title":"style: adds prettier","user":{"login":"schne324","id":3180185,"node_id":"MDQ6VXNlcjMxODAxODU=","avatar_url":"https://avatars1.githubusercontent.com/u/3180185?v=4","gravatar_id":"","url":"https://api.github.com/users/schne324","html_url":"https://github.com/schne324","followers_url":"https://api.github.com/users/schne324/followers","following_url":"https://api.github.com/users/schne324/following{/other_user}","gists_url":"https://api.github.com/users/schne324/gists{/gist_id}","starred_url":"https://api.github.com/users/schne324/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schne324/subscriptions","organizations_url":"https://api.github.com/users/schne324/orgs","repos_url":"https://api.github.com/users/schne324/repos","events_url":"https://api.github.com/users/schne324/events{/privacy}","received_events_url":"https://api.github.com/users/schne324/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-12T19:29:23Z","updated_at":"2018-09-12T19:53:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bbf235a20bd3c4bef7b720c1544079bd5e060bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30/commits","review_comments_url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30/comments","review_comment_url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues/30/comments","statuses_url":"https://api.github.com/repos/dequelabs/cauldron-react/statuses/93267fc91759ca0fb11ab1947610a46210c20091","head":{"label":"dequelabs:prettier","ref":"prettier","sha":"93267fc91759ca0fb11ab1947610a46210c20091","user":{"login":"dequelabs","id":4094299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwOTQyOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":116829189,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4MjkxODk=","name":"cauldron-react","full_name":"dequelabs/cauldron-react","owner":{"login":"dequelabs","id":4094299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwOTQyOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dequelabs/cauldron-react","description":null,"fork":false,"url":"https://api.github.com/repos/dequelabs/cauldron-react","forks_url":"https://api.github.com/repos/dequelabs/cauldron-react/forks","keys_url":"https://api.github.com/repos/dequelabs/cauldron-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dequelabs/cauldron-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dequelabs/cauldron-react/teams","hooks_url":"https://api.github.com/repos/dequelabs/cauldron-react/hooks","issue_events_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues/events{/number}","events_url":"https://api.github.com/repos/dequelabs/cauldron-react/events","assignees_url":"https://api.github.com/repos/dequelabs/cauldron-react/assignees{/user}","branches_url":"https://api.github.com/repos/dequelabs/cauldron-react/branches{/branch}","tags_url":"https://api.github.com/repos/dequelabs/cauldron-react/tags","blobs_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dequelabs/cauldron-react/statuses/{sha}","languages_url":"https://api.github.com/repos/dequelabs/cauldron-react/languages","stargazers_url":"https://api.github.com/repos/dequelabs/cauldron-react/stargazers","contributors_url":"https://api.github.com/repos/dequelabs/cauldron-react/contributors","subscribers_url":"https://api.github.com/repos/dequelabs/cauldron-react/subscribers","subscription_url":"https://api.github.com/repos/dequelabs/cauldron-react/subscription","commits_url":"https://api.github.com/repos/dequelabs/cauldron-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/dequelabs/cauldron-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/dequelabs/cauldron-react/contents/{+path}","compare_url":"https://api.github.com/repos/dequelabs/cauldron-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dequelabs/cauldron-react/merges","archive_url":"https://api.github.com/repos/dequelabs/cauldron-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dequelabs/cauldron-react/downloads","issues_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues{/number}","pulls_url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls{/number}","milestones_url":"https://api.github.com/repos/dequelabs/cauldron-react/milestones{/number}","notifications_url":"https://api.github.com/repos/dequelabs/cauldron-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dequelabs/cauldron-react/labels{/name}","releases_url":"https://api.github.com/repos/dequelabs/cauldron-react/releases{/id}","deployments_url":"https://api.github.com/repos/dequelabs/cauldron-react/deployments","created_at":"2018-01-09T14:50:57Z","updated_at":"2018-09-11T16:55:42Z","pushed_at":"2018-09-12T19:29:23Z","git_url":"git://github.com/dequelabs/cauldron-react.git","ssh_url":"git@github.com:dequelabs/cauldron-react.git","clone_url":"https://github.com/dequelabs/cauldron-react.git","svn_url":"https://github.com/dequelabs/cauldron-react","homepage":null,"size":378,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"dequelabs:master","ref":"master","sha":"bfe88612e69e2d8b158dbd69461573a26d839fe7","user":{"login":"dequelabs","id":4094299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwOTQyOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"repo":{"id":116829189,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4MjkxODk=","name":"cauldron-react","full_name":"dequelabs/cauldron-react","owner":{"login":"dequelabs","id":4094299,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwOTQyOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4094299?v=4","gravatar_id":"","url":"https://api.github.com/users/dequelabs","html_url":"https://github.com/dequelabs","followers_url":"https://api.github.com/users/dequelabs/followers","following_url":"https://api.github.com/users/dequelabs/following{/other_user}","gists_url":"https://api.github.com/users/dequelabs/gists{/gist_id}","starred_url":"https://api.github.com/users/dequelabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dequelabs/subscriptions","organizations_url":"https://api.github.com/users/dequelabs/orgs","repos_url":"https://api.github.com/users/dequelabs/repos","events_url":"https://api.github.com/users/dequelabs/events{/privacy}","received_events_url":"https://api.github.com/users/dequelabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dequelabs/cauldron-react","description":null,"fork":false,"url":"https://api.github.com/repos/dequelabs/cauldron-react","forks_url":"https://api.github.com/repos/dequelabs/cauldron-react/forks","keys_url":"https://api.github.com/repos/dequelabs/cauldron-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dequelabs/cauldron-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dequelabs/cauldron-react/teams","hooks_url":"https://api.github.com/repos/dequelabs/cauldron-react/hooks","issue_events_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues/events{/number}","events_url":"https://api.github.com/repos/dequelabs/cauldron-react/events","assignees_url":"https://api.github.com/repos/dequelabs/cauldron-react/assignees{/user}","branches_url":"https://api.github.com/repos/dequelabs/cauldron-react/branches{/branch}","tags_url":"https://api.github.com/repos/dequelabs/cauldron-react/tags","blobs_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dequelabs/cauldron-react/statuses/{sha}","languages_url":"https://api.github.com/repos/dequelabs/cauldron-react/languages","stargazers_url":"https://api.github.com/repos/dequelabs/cauldron-react/stargazers","contributors_url":"https://api.github.com/repos/dequelabs/cauldron-react/contributors","subscribers_url":"https://api.github.com/repos/dequelabs/cauldron-react/subscribers","subscription_url":"https://api.github.com/repos/dequelabs/cauldron-react/subscription","commits_url":"https://api.github.com/repos/dequelabs/cauldron-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/dequelabs/cauldron-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/dequelabs/cauldron-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/dequelabs/cauldron-react/contents/{+path}","compare_url":"https://api.github.com/repos/dequelabs/cauldron-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dequelabs/cauldron-react/merges","archive_url":"https://api.github.com/repos/dequelabs/cauldron-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dequelabs/cauldron-react/downloads","issues_url":"https://api.github.com/repos/dequelabs/cauldron-react/issues{/number}","pulls_url":"https://api.github.com/repos/dequelabs/cauldron-react/pulls{/number}","milestones_url":"https://api.github.com/repos/dequelabs/cauldron-react/milestones{/number}","notifications_url":"https://api.github.com/repos/dequelabs/cauldron-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dequelabs/cauldron-react/labels{/name}","releases_url":"https://api.github.com/repos/dequelabs/cauldron-react/releases{/id}","deployments_url":"https://api.github.com/repos/dequelabs/cauldron-react/deployments","created_at":"2018-01-09T14:50:57Z","updated_at":"2018-09-11T16:55:42Z","pushed_at":"2018-09-12T19:29:23Z","git_url":"git://github.com/dequelabs/cauldron-react.git","ssh_url":"git@github.com:dequelabs/cauldron-react.git","clone_url":"https://github.com/dequelabs/cauldron-react.git","svn_url":"https://github.com/dequelabs/cauldron-react","homepage":null,"size":378,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30"},"html":{"href":"https://github.com/dequelabs/cauldron-react/pull/30"},"issue":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/issues/30"},"comments":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/dequelabs/cauldron-react/statuses/93267fc91759ca0fb11ab1947610a46210c20091"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"stephenmathieson"}}