{"action":"created","comment":{"url":"https://api.github.com/repos/technopagan/sqip/pulls/comments/173782209","pull_request_review_id":103025190,"id":173782209,"diff_hunk":"@@ -1,241 +1,267 @@\n-//#############################################################################\n-//#\n-//# \"SQIP\" (pronounced \\skwɪb\\ like the non-magical folk of magical descent)\n-//# is a SVG-based LQIP technique - https://github.com/technopagan/sqip\n-//#\n-//# Installation:\n-//# npm install -g sqip\n-//#\n-//# Requirements:\n-//# * Node.js >= v.6 (https://nodejs.org/en/)\n-//# * Golang (https://golang.org/doc/install)\n-//# * Primitive (https://github.com/fogleman/primitive)\n-//#\n-//#############################################################################\n-\n-\n-//#############################################################################\n-//# CONFIG\n-//#############################################################################\n+// #############################################################################\n+// #\n+// # \"SQIP\" (pronounced \\skwɪb\\ like the non-magical folk of magical descent)\n+// # is a SVG-based LQIP technique - https://github.com/technopagan/sqip\n+// #\n+// # Installation:\n+// # npm install -g sqip\n+// #\n+// # Requirements:\n+// # * Node.js >= v.6 (https://nodejs.org/en/)\n+// # * Golang (https://golang.org/doc/install)\n+// # * Primitive (https://github.com/fogleman/primitive)\n+// #\n+// #############################################################################\n+\n+// #############################################################################\n+// # CONFIG\n+// #############################################################################\n \n // Require the necessary modules to make sqip work\n-const sizeOf = require('image-size');\n-const argv = require('argv');\n-const os = require('os');\n-const child_process = require('child_process');\n-const fs = require('fs');\n-const path = require('path');\n-const svgo = require('svgo');\n+const sizeOf = require('image-size')\n+const argv = require('argv')\n+const os = require('os')\n+const childProcess = require('child-process')","path":"src/index.js","position":50,"original_position":50,"commit_id":"dedb8af903d70c039b46ea58f6ceb4e1a84d0716","original_commit_id":"dedb8af903d70c039b46ea58f6ceb4e1a84d0716","user":{"login":"efegurkan","id":1410658,"avatar_url":"https://avatars2.githubusercontent.com/u/1410658?v=4","gravatar_id":"","url":"https://api.github.com/users/efegurkan","html_url":"https://github.com/efegurkan","followers_url":"https://api.github.com/users/efegurkan/followers","following_url":"https://api.github.com/users/efegurkan/following{/other_user}","gists_url":"https://api.github.com/users/efegurkan/gists{/gist_id}","starred_url":"https://api.github.com/users/efegurkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efegurkan/subscriptions","organizations_url":"https://api.github.com/users/efegurkan/orgs","repos_url":"https://api.github.com/users/efegurkan/repos","events_url":"https://api.github.com/users/efegurkan/events{/privacy}","received_events_url":"https://api.github.com/users/efegurkan/received_events","type":"User","site_admin":false},"body":"Also eslint will fail on `camelcase` I assume, for that we can disable check for that line. ","created_at":"2018-03-12T12:43:09Z","updated_at":"2018-03-12T12:43:56Z","html_url":"https://github.com/technopagan/sqip/pull/31#discussion_r173782209","pull_request_url":"https://api.github.com/repos/technopagan/sqip/pulls/31","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/technopagan/sqip/pulls/comments/173782209"},"html":{"href":"https://github.com/technopagan/sqip/pull/31#discussion_r173782209"},"pull_request":{"href":"https://api.github.com/repos/technopagan/sqip/pulls/31"}},"in_reply_to_id":173781947},"pull_request":{"url":"https://api.github.com/repos/technopagan/sqip/pulls/31","id":174049182,"html_url":"https://github.com/technopagan/sqip/pull/31","diff_url":"https://github.com/technopagan/sqip/pull/31.diff","patch_url":"https://github.com/technopagan/sqip/pull/31.patch","issue_url":"https://api.github.com/repos/technopagan/sqip/issues/31","number":31,"state":"open","locked":false,"title":"style(code): implements eslint & prettier","user":{"login":"axe312ger","id":1737026,"avatar_url":"https://avatars1.githubusercontent.com/u/1737026?v=4","gravatar_id":"","url":"https://api.github.com/users/axe312ger","html_url":"https://github.com/axe312ger","followers_url":"https://api.github.com/users/axe312ger/followers","following_url":"https://api.github.com/users/axe312ger/following{/other_user}","gists_url":"https://api.github.com/users/axe312ger/gists{/gist_id}","starred_url":"https://api.github.com/users/axe312ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axe312ger/subscriptions","organizations_url":"https://api.github.com/users/axe312ger/orgs","repos_url":"https://api.github.com/users/axe312ger/repos","events_url":"https://api.github.com/users/axe312ger/events{/privacy}","received_events_url":"https://api.github.com/users/axe312ger/received_events","type":"User","site_admin":false},"body":"* Adds and applies eslint with standard config\r\n* Adds and applies prettier with standard config\r\n* Adds husky to enfore clean code on pre commit\r\n\r\nBREAKING CHANGE: lib return values are now camelCased\r\n\r\nThis is my first step to get this lib in 2018 shape. 99% of the changes are auto fixed from eslint or prettier. I'd keep this in the next branch and start releasing 1.0.0-alpha's as soon we got the plugin system running.\r\n\r\nNext step might be upgrading all dependencies.","created_at":"2018-03-09T16:30:46Z","updated_at":"2018-03-12T12:43:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e07b2bca9157133392060bc3b3b26b18d4535309","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/technopagan/sqip/pulls/31/commits","review_comments_url":"https://api.github.com/repos/technopagan/sqip/pulls/31/comments","review_comment_url":"https://api.github.com/repos/technopagan/sqip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/technopagan/sqip/issues/31/comments","statuses_url":"https://api.github.com/repos/technopagan/sqip/statuses/dedb8af903d70c039b46ea58f6ceb4e1a84d0716","head":{"label":"technopagan:style/eslint-prettier","ref":"style/eslint-prettier","sha":"dedb8af903d70c039b46ea58f6ceb4e1a84d0716","user":{"login":"technopagan","id":61264,"avatar_url":"https://avatars2.githubusercontent.com/u/61264?v=4","gravatar_id":"","url":"https://api.github.com/users/technopagan","html_url":"https://github.com/technopagan","followers_url":"https://api.github.com/users/technopagan/followers","following_url":"https://api.github.com/users/technopagan/following{/other_user}","gists_url":"https://api.github.com/users/technopagan/gists{/gist_id}","starred_url":"https://api.github.com/users/technopagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technopagan/subscriptions","organizations_url":"https://api.github.com/users/technopagan/orgs","repos_url":"https://api.github.com/users/technopagan/repos","events_url":"https://api.github.com/users/technopagan/events{/privacy}","received_events_url":"https://api.github.com/users/technopagan/received_events","type":"User","site_admin":false},"repo":{"id":103548171,"name":"sqip","full_name":"technopagan/sqip","owner":{"login":"technopagan","id":61264,"avatar_url":"https://avatars2.githubusercontent.com/u/61264?v=4","gravatar_id":"","url":"https://api.github.com/users/technopagan","html_url":"https://github.com/technopagan","followers_url":"https://api.github.com/users/technopagan/followers","following_url":"https://api.github.com/users/technopagan/following{/other_user}","gists_url":"https://api.github.com/users/technopagan/gists{/gist_id}","starred_url":"https://api.github.com/users/technopagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technopagan/subscriptions","organizations_url":"https://api.github.com/users/technopagan/orgs","repos_url":"https://api.github.com/users/technopagan/repos","events_url":"https://api.github.com/users/technopagan/events{/privacy}","received_events_url":"https://api.github.com/users/technopagan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/technopagan/sqip","description":"\"SQIP\" (pronounced \\skwɪb\\ like the non-magical folk of magical descent) is a  SVG-based LQIP technique.","fork":false,"url":"https://api.github.com/repos/technopagan/sqip","forks_url":"https://api.github.com/repos/technopagan/sqip/forks","keys_url":"https://api.github.com/repos/technopagan/sqip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/technopagan/sqip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/technopagan/sqip/teams","hooks_url":"https://api.github.com/repos/technopagan/sqip/hooks","issue_events_url":"https://api.github.com/repos/technopagan/sqip/issues/events{/number}","events_url":"https://api.github.com/repos/technopagan/sqip/events","assignees_url":"https://api.github.com/repos/technopagan/sqip/assignees{/user}","branches_url":"https://api.github.com/repos/technopagan/sqip/branches{/branch}","tags_url":"https://api.github.com/repos/technopagan/sqip/tags","blobs_url":"https://api.github.com/repos/technopagan/sqip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/technopagan/sqip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/technopagan/sqip/git/refs{/sha}","trees_url":"https://api.github.com/repos/technopagan/sqip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/technopagan/sqip/statuses/{sha}","languages_url":"https://api.github.com/repos/technopagan/sqip/languages","stargazers_url":"https://api.github.com/repos/technopagan/sqip/stargazers","contributors_url":"https://api.github.com/repos/technopagan/sqip/contributors","subscribers_url":"https://api.github.com/repos/technopagan/sqip/subscribers","subscription_url":"https://api.github.com/repos/technopagan/sqip/subscription","commits_url":"https://api.github.com/repos/technopagan/sqip/commits{/sha}","git_commits_url":"https://api.github.com/repos/technopagan/sqip/git/commits{/sha}","comments_url":"https://api.github.com/repos/technopagan/sqip/comments{/number}","issue_comment_url":"https://api.github.com/repos/technopagan/sqip/issues/comments{/number}","contents_url":"https://api.github.com/repos/technopagan/sqip/contents/{+path}","compare_url":"https://api.github.com/repos/technopagan/sqip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/technopagan/sqip/merges","archive_url":"https://api.github.com/repos/technopagan/sqip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/technopagan/sqip/downloads","issues_url":"https://api.github.com/repos/technopagan/sqip/issues{/number}","pulls_url":"https://api.github.com/repos/technopagan/sqip/pulls{/number}","milestones_url":"https://api.github.com/repos/technopagan/sqip/milestones{/number}","notifications_url":"https://api.github.com/repos/technopagan/sqip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/technopagan/sqip/labels{/name}","releases_url":"https://api.github.com/repos/technopagan/sqip/releases{/id}","deployments_url":"https://api.github.com/repos/technopagan/sqip/deployments","created_at":"2017-09-14T15:16:42Z","updated_at":"2018-03-10T15:23:50Z","pushed_at":"2018-03-12T09:12:57Z","git_url":"git://github.com/technopagan/sqip.git","ssh_url":"git@github.com:technopagan/sqip.git","clone_url":"https://github.com/technopagan/sqip.git","svn_url":"https://github.com/technopagan/sqip","homepage":"","size":2329,"stargazers_count":1687,"watchers_count":1687,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense"},"forks":59,"open_issues":11,"watchers":1687,"default_branch":"master"}},"base":{"label":"technopagan:next","ref":"next","sha":"d52910e4755cb50bc877b2dff709d608f11f9745","user":{"login":"technopagan","id":61264,"avatar_url":"https://avatars2.githubusercontent.com/u/61264?v=4","gravatar_id":"","url":"https://api.github.com/users/technopagan","html_url":"https://github.com/technopagan","followers_url":"https://api.github.com/users/technopagan/followers","following_url":"https://api.github.com/users/technopagan/following{/other_user}","gists_url":"https://api.github.com/users/technopagan/gists{/gist_id}","starred_url":"https://api.github.com/users/technopagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technopagan/subscriptions","organizations_url":"https://api.github.com/users/technopagan/orgs","repos_url":"https://api.github.com/users/technopagan/repos","events_url":"https://api.github.com/users/technopagan/events{/privacy}","received_events_url":"https://api.github.com/users/technopagan/received_events","type":"User","site_admin":false},"repo":{"id":103548171,"name":"sqip","full_name":"technopagan/sqip","owner":{"login":"technopagan","id":61264,"avatar_url":"https://avatars2.githubusercontent.com/u/61264?v=4","gravatar_id":"","url":"https://api.github.com/users/technopagan","html_url":"https://github.com/technopagan","followers_url":"https://api.github.com/users/technopagan/followers","following_url":"https://api.github.com/users/technopagan/following{/other_user}","gists_url":"https://api.github.com/users/technopagan/gists{/gist_id}","starred_url":"https://api.github.com/users/technopagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technopagan/subscriptions","organizations_url":"https://api.github.com/users/technopagan/orgs","repos_url":"https://api.github.com/users/technopagan/repos","events_url":"https://api.github.com/users/technopagan/events{/privacy}","received_events_url":"https://api.github.com/users/technopagan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/technopagan/sqip","description":"\"SQIP\" (pronounced \\skwɪb\\ like the non-magical folk of magical descent) is a  SVG-based LQIP technique.","fork":false,"url":"https://api.github.com/repos/technopagan/sqip","forks_url":"https://api.github.com/repos/technopagan/sqip/forks","keys_url":"https://api.github.com/repos/technopagan/sqip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/technopagan/sqip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/technopagan/sqip/teams","hooks_url":"https://api.github.com/repos/technopagan/sqip/hooks","issue_events_url":"https://api.github.com/repos/technopagan/sqip/issues/events{/number}","events_url":"https://api.github.com/repos/technopagan/sqip/events","assignees_url":"https://api.github.com/repos/technopagan/sqip/assignees{/user}","branches_url":"https://api.github.com/repos/technopagan/sqip/branches{/branch}","tags_url":"https://api.github.com/repos/technopagan/sqip/tags","blobs_url":"https://api.github.com/repos/technopagan/sqip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/technopagan/sqip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/technopagan/sqip/git/refs{/sha}","trees_url":"https://api.github.com/repos/technopagan/sqip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/technopagan/sqip/statuses/{sha}","languages_url":"https://api.github.com/repos/technopagan/sqip/languages","stargazers_url":"https://api.github.com/repos/technopagan/sqip/stargazers","contributors_url":"https://api.github.com/repos/technopagan/sqip/contributors","subscribers_url":"https://api.github.com/repos/technopagan/sqip/subscribers","subscription_url":"https://api.github.com/repos/technopagan/sqip/subscription","commits_url":"https://api.github.com/repos/technopagan/sqip/commits{/sha}","git_commits_url":"https://api.github.com/repos/technopagan/sqip/git/commits{/sha}","comments_url":"https://api.github.com/repos/technopagan/sqip/comments{/number}","issue_comment_url":"https://api.github.com/repos/technopagan/sqip/issues/comments{/number}","contents_url":"https://api.github.com/repos/technopagan/sqip/contents/{+path}","compare_url":"https://api.github.com/repos/technopagan/sqip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/technopagan/sqip/merges","archive_url":"https://api.github.com/repos/technopagan/sqip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/technopagan/sqip/downloads","issues_url":"https://api.github.com/repos/technopagan/sqip/issues{/number}","pulls_url":"https://api.github.com/repos/technopagan/sqip/pulls{/number}","milestones_url":"https://api.github.com/repos/technopagan/sqip/milestones{/number}","notifications_url":"https://api.github.com/repos/technopagan/sqip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/technopagan/sqip/labels{/name}","releases_url":"https://api.github.com/repos/technopagan/sqip/releases{/id}","deployments_url":"https://api.github.com/repos/technopagan/sqip/deployments","created_at":"2017-09-14T15:16:42Z","updated_at":"2018-03-10T15:23:50Z","pushed_at":"2018-03-12T09:12:57Z","git_url":"git://github.com/technopagan/sqip.git","ssh_url":"git@github.com:technopagan/sqip.git","clone_url":"https://github.com/technopagan/sqip.git","svn_url":"https://github.com/technopagan/sqip","homepage":"","size":2329,"stargazers_count":1687,"watchers_count":1687,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense"},"forks":59,"open_issues":11,"watchers":1687,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/technopagan/sqip/pulls/31"},"html":{"href":"https://github.com/technopagan/sqip/pull/31"},"issue":{"href":"https://api.github.com/repos/technopagan/sqip/issues/31"},"comments":{"href":"https://api.github.com/repos/technopagan/sqip/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/technopagan/sqip/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/technopagan/sqip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/technopagan/sqip/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/technopagan/sqip/statuses/dedb8af903d70c039b46ea58f6ceb4e1a84d0716"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"efegurkan"}}