{"action":"opened","number":111,"pull_request":{"url":"https://api.github.com/repos/botpress/botpress/pulls/111","id":108840807,"html_url":"https://github.com/botpress/botpress/pull/111","diff_url":"https://github.com/botpress/botpress/pull/111.diff","patch_url":"https://github.com/botpress/botpress/pull/111.patch","issue_url":"https://api.github.com/repos/botpress/botpress/issues/111","number":111,"state":"open","locked":false,"title":"Streamlined error messaging","user":{"login":"lekoaf","id":7765599,"avatar_url":"https://avatars2.githubusercontent.com/u/7765599?v=3","gravatar_id":"","url":"https://api.github.com/users/lekoaf","html_url":"https://github.com/lekoaf","followers_url":"https://api.github.com/users/lekoaf/followers","following_url":"https://api.github.com/users/lekoaf/following{/other_user}","gists_url":"https://api.github.com/users/lekoaf/gists{/gist_id}","starred_url":"https://api.github.com/users/lekoaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekoaf/subscriptions","organizations_url":"https://api.github.com/users/lekoaf/orgs","repos_url":"https://api.github.com/users/lekoaf/repos","events_url":"https://api.github.com/users/lekoaf/events{/privacy}","received_events_url":"https://api.github.com/users/lekoaf/received_events","type":"User","site_admin":false},"body":"Hello!\r\n\r\nI decided to work a bit on the message logging in Botpress. It was quite inconsistent how it was written. String concatenation, string templates, double and single quotes and even backticks where it wasn't needed. Sentences starting with non capital letter, missing punctuation etc.\r\n\r\nMay I perhaps suggest a few rules to add to ESLint?\r\n\r\nhttp://eslint.org/docs/rules/prefer-template\r\nhttp://eslint.org/docs/rules/quotes","created_at":"2017-03-02T20:10:49Z","updated_at":"2017-03-02T20:10:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/botpress/botpress/pulls/111/commits","review_comments_url":"https://api.github.com/repos/botpress/botpress/pulls/111/comments","review_comment_url":"https://api.github.com/repos/botpress/botpress/pulls/comments{/number}","comments_url":"https://api.github.com/repos/botpress/botpress/issues/111/comments","statuses_url":"https://api.github.com/repos/botpress/botpress/statuses/e6a8bb37d8018430f9fd9d176ea275ffc049e2b3","head":{"label":"lekoaf:master","ref":"master","sha":"e6a8bb37d8018430f9fd9d176ea275ffc049e2b3","user":{"login":"lekoaf","id":7765599,"avatar_url":"https://avatars2.githubusercontent.com/u/7765599?v=3","gravatar_id":"","url":"https://api.github.com/users/lekoaf","html_url":"https://github.com/lekoaf","followers_url":"https://api.github.com/users/lekoaf/followers","following_url":"https://api.github.com/users/lekoaf/following{/other_user}","gists_url":"https://api.github.com/users/lekoaf/gists{/gist_id}","starred_url":"https://api.github.com/users/lekoaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekoaf/subscriptions","organizations_url":"https://api.github.com/users/lekoaf/orgs","repos_url":"https://api.github.com/users/lekoaf/repos","events_url":"https://api.github.com/users/lekoaf/events{/privacy}","received_events_url":"https://api.github.com/users/lekoaf/received_events","type":"User","site_admin":false},"repo":{"id":83684071,"name":"botpress","full_name":"lekoaf/botpress","owner":{"login":"lekoaf","id":7765599,"avatar_url":"https://avatars2.githubusercontent.com/u/7765599?v=3","gravatar_id":"","url":"https://api.github.com/users/lekoaf","html_url":"https://github.com/lekoaf","followers_url":"https://api.github.com/users/lekoaf/followers","following_url":"https://api.github.com/users/lekoaf/following{/other_user}","gists_url":"https://api.github.com/users/lekoaf/gists{/gist_id}","starred_url":"https://api.github.com/users/lekoaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lekoaf/subscriptions","organizations_url":"https://api.github.com/users/lekoaf/orgs","repos_url":"https://api.github.com/users/lekoaf/repos","events_url":"https://api.github.com/users/lekoaf/events{/privacy}","received_events_url":"https://api.github.com/users/lekoaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lekoaf/botpress","description":"🤖  The only sane way of building great bots. 👉","fork":true,"url":"https://api.github.com/repos/lekoaf/botpress","forks_url":"https://api.github.com/repos/lekoaf/botpress/forks","keys_url":"https://api.github.com/repos/lekoaf/botpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lekoaf/botpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lekoaf/botpress/teams","hooks_url":"https://api.github.com/repos/lekoaf/botpress/hooks","issue_events_url":"https://api.github.com/repos/lekoaf/botpress/issues/events{/number}","events_url":"https://api.github.com/repos/lekoaf/botpress/events","assignees_url":"https://api.github.com/repos/lekoaf/botpress/assignees{/user}","branches_url":"https://api.github.com/repos/lekoaf/botpress/branches{/branch}","tags_url":"https://api.github.com/repos/lekoaf/botpress/tags","blobs_url":"https://api.github.com/repos/lekoaf/botpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lekoaf/botpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lekoaf/botpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/lekoaf/botpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lekoaf/botpress/statuses/{sha}","languages_url":"https://api.github.com/repos/lekoaf/botpress/languages","stargazers_url":"https://api.github.com/repos/lekoaf/botpress/stargazers","contributors_url":"https://api.github.com/repos/lekoaf/botpress/contributors","subscribers_url":"https://api.github.com/repos/lekoaf/botpress/subscribers","subscription_url":"https://api.github.com/repos/lekoaf/botpress/subscription","commits_url":"https://api.github.com/repos/lekoaf/botpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/lekoaf/botpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/lekoaf/botpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/lekoaf/botpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/lekoaf/botpress/contents/{+path}","compare_url":"https://api.github.com/repos/lekoaf/botpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lekoaf/botpress/merges","archive_url":"https://api.github.com/repos/lekoaf/botpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lekoaf/botpress/downloads","issues_url":"https://api.github.com/repos/lekoaf/botpress/issues{/number}","pulls_url":"https://api.github.com/repos/lekoaf/botpress/pulls{/number}","milestones_url":"https://api.github.com/repos/lekoaf/botpress/milestones{/number}","notifications_url":"https://api.github.com/repos/lekoaf/botpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lekoaf/botpress/labels{/name}","releases_url":"https://api.github.com/repos/lekoaf/botpress/releases{/id}","deployments_url":"https://api.github.com/repos/lekoaf/botpress/deployments","created_at":"2017-03-02T14:01:29Z","updated_at":"2017-03-02T14:01:31Z","pushed_at":"2017-03-02T19:48:57Z","git_url":"git://github.com/lekoaf/botpress.git","ssh_url":"git@github.com:lekoaf/botpress.git","clone_url":"https://github.com/lekoaf/botpress.git","svn_url":"https://github.com/lekoaf/botpress","homepage":"https://botpress.io","size":7041,"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":"botpress:master","ref":"master","sha":"ccd2099e1fb338cb3c8474300093e9e2d2478ff5","user":{"login":"botpress","id":23510677,"avatar_url":"https://avatars0.githubusercontent.com/u/23510677?v=3","gravatar_id":"","url":"https://api.github.com/users/botpress","html_url":"https://github.com/botpress","followers_url":"https://api.github.com/users/botpress/followers","following_url":"https://api.github.com/users/botpress/following{/other_user}","gists_url":"https://api.github.com/users/botpress/gists{/gist_id}","starred_url":"https://api.github.com/users/botpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botpress/subscriptions","organizations_url":"https://api.github.com/users/botpress/orgs","repos_url":"https://api.github.com/users/botpress/repos","events_url":"https://api.github.com/users/botpress/events{/privacy}","received_events_url":"https://api.github.com/users/botpress/received_events","type":"Organization","site_admin":false},"repo":{"id":73964895,"name":"botpress","full_name":"botpress/botpress","owner":{"login":"botpress","id":23510677,"avatar_url":"https://avatars0.githubusercontent.com/u/23510677?v=3","gravatar_id":"","url":"https://api.github.com/users/botpress","html_url":"https://github.com/botpress","followers_url":"https://api.github.com/users/botpress/followers","following_url":"https://api.github.com/users/botpress/following{/other_user}","gists_url":"https://api.github.com/users/botpress/gists{/gist_id}","starred_url":"https://api.github.com/users/botpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botpress/subscriptions","organizations_url":"https://api.github.com/users/botpress/orgs","repos_url":"https://api.github.com/users/botpress/repos","events_url":"https://api.github.com/users/botpress/events{/privacy}","received_events_url":"https://api.github.com/users/botpress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/botpress/botpress","description":"🤖  The only sane way of building great bots. 👉","fork":false,"url":"https://api.github.com/repos/botpress/botpress","forks_url":"https://api.github.com/repos/botpress/botpress/forks","keys_url":"https://api.github.com/repos/botpress/botpress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/botpress/botpress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/botpress/botpress/teams","hooks_url":"https://api.github.com/repos/botpress/botpress/hooks","issue_events_url":"https://api.github.com/repos/botpress/botpress/issues/events{/number}","events_url":"https://api.github.com/repos/botpress/botpress/events","assignees_url":"https://api.github.com/repos/botpress/botpress/assignees{/user}","branches_url":"https://api.github.com/repos/botpress/botpress/branches{/branch}","tags_url":"https://api.github.com/repos/botpress/botpress/tags","blobs_url":"https://api.github.com/repos/botpress/botpress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/botpress/botpress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/botpress/botpress/git/refs{/sha}","trees_url":"https://api.github.com/repos/botpress/botpress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/botpress/botpress/statuses/{sha}","languages_url":"https://api.github.com/repos/botpress/botpress/languages","stargazers_url":"https://api.github.com/repos/botpress/botpress/stargazers","contributors_url":"https://api.github.com/repos/botpress/botpress/contributors","subscribers_url":"https://api.github.com/repos/botpress/botpress/subscribers","subscription_url":"https://api.github.com/repos/botpress/botpress/subscription","commits_url":"https://api.github.com/repos/botpress/botpress/commits{/sha}","git_commits_url":"https://api.github.com/repos/botpress/botpress/git/commits{/sha}","comments_url":"https://api.github.com/repos/botpress/botpress/comments{/number}","issue_comment_url":"https://api.github.com/repos/botpress/botpress/issues/comments{/number}","contents_url":"https://api.github.com/repos/botpress/botpress/contents/{+path}","compare_url":"https://api.github.com/repos/botpress/botpress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/botpress/botpress/merges","archive_url":"https://api.github.com/repos/botpress/botpress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/botpress/botpress/downloads","issues_url":"https://api.github.com/repos/botpress/botpress/issues{/number}","pulls_url":"https://api.github.com/repos/botpress/botpress/pulls{/number}","milestones_url":"https://api.github.com/repos/botpress/botpress/milestones{/number}","notifications_url":"https://api.github.com/repos/botpress/botpress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/botpress/botpress/labels{/name}","releases_url":"https://api.github.com/repos/botpress/botpress/releases{/id}","deployments_url":"https://api.github.com/repos/botpress/botpress/deployments","created_at":"2016-11-16T21:57:59Z","updated_at":"2017-03-02T17:29:24Z","pushed_at":"2017-03-02T13:34:52Z","git_url":"git://github.com/botpress/botpress.git","ssh_url":"git@github.com:botpress/botpress.git","clone_url":"https://github.com/botpress/botpress.git","svn_url":"https://github.com/botpress/botpress","homepage":"https://botpress.io","size":7041,"stargazers_count":2914,"watchers_count":2914,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":49,"forks":180,"open_issues":49,"watchers":2914,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/botpress/botpress/pulls/111"},"html":{"href":"https://github.com/botpress/botpress/pull/111"},"issue":{"href":"https://api.github.com/repos/botpress/botpress/issues/111"},"comments":{"href":"https://api.github.com/repos/botpress/botpress/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/botpress/botpress/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/botpress/botpress/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/botpress/botpress/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/botpress/botpress/statuses/e6a8bb37d8018430f9fd9d176ea275ffc049e2b3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":33,"deletions":35,"changed_files":9}}
{"actor":{"display_login":"lekoaf"}}