{"action":"created","comment":{"url":"https://api.github.com/repos/brainly/style-guide/pulls/comments/39750768","id":39750768,"diff_hunk":"@@ -1,9 +1,3 @@\n #!/usr/bin/env bash\n-\n-# This script will run scss-lint\n-\n-PROJECT_DIR=$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )/..\" && pwd)\n-\n-docker run --rm \\\n-  -v $PROJECT_DIR:/style-guide \\\n-  brainly/style-guide bash -c \"scss-lint /style-guide/$1 -f JSON | sed 's/\\/style-guide\\///g'\"\n+SCRIPT_DIR=$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\n+source ${SCRIPT_DIR}/run-scss-lint.sh $1 -f JSON","path":"scripts/ide-run-scss-lint-from-docker.sh","position":11,"original_position":11,"commit_id":"5df1645ff7ab62eddaf1cbaa0909455fce4ec623","original_commit_id":"5df1645ff7ab62eddaf1cbaa0909455fce4ec623","user":{"login":"marcinb","id":158127,"avatar_url":"https://avatars.githubusercontent.com/u/158127?v=3","gravatar_id":"","url":"https://api.github.com/users/marcinb","html_url":"https://github.com/marcinb","followers_url":"https://api.github.com/users/marcinb/followers","following_url":"https://api.github.com/users/marcinb/following{/other_user}","gists_url":"https://api.github.com/users/marcinb/gists{/gist_id}","starred_url":"https://api.github.com/users/marcinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcinb/subscriptions","organizations_url":"https://api.github.com/users/marcinb/orgs","repos_url":"https://api.github.com/users/marcinb/repos","events_url":"https://api.github.com/users/marcinb/events{/privacy}","received_events_url":"https://api.github.com/users/marcinb/received_events","type":"User","site_admin":false},"body":"I can't understand why you split it, also naming doesn't make it easier to get as docker-level instructions are actually in `/run-scss-lint.sh` while this file abstracts that away and doesn't even mention word `docker` at all but is still called `ide-run-scss-lint-from-docker` ? :) \r\n","created_at":"2015-09-17T14:23:36Z","updated_at":"2015-09-17T14:23:36Z","html_url":"https://github.com/brainly/style-guide/pull/309#discussion_r39750768","pull_request_url":"https://api.github.com/repos/brainly/style-guide/pulls/309","_links":{"self":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/comments/39750768"},"html":{"href":"https://github.com/brainly/style-guide/pull/309#discussion_r39750768"},"pull_request":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/309"}}},"pull_request":{"url":"https://api.github.com/repos/brainly/style-guide/pulls/309","id":45291497,"html_url":"https://github.com/brainly/style-guide/pull/309","diff_url":"https://github.com/brainly/style-guide/pull/309.diff","patch_url":"https://github.com/brainly/style-guide/pull/309.patch","issue_url":"https://api.github.com/repos/brainly/style-guide/issues/309","number":309,"state":"open","locked":false,"title":"Refactor scripts","user":{"login":"aju","id":316313,"avatar_url":"https://avatars.githubusercontent.com/u/316313?v=3","gravatar_id":"","url":"https://api.github.com/users/aju","html_url":"https://github.com/aju","followers_url":"https://api.github.com/users/aju/followers","following_url":"https://api.github.com/users/aju/following{/other_user}","gists_url":"https://api.github.com/users/aju/gists{/gist_id}","starred_url":"https://api.github.com/users/aju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aju/subscriptions","organizations_url":"https://api.github.com/users/aju/orgs","repos_url":"https://api.github.com/users/aju/repos","events_url":"https://api.github.com/users/aju/events{/privacy}","received_events_url":"https://api.github.com/users/aju/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-17T13:44:48Z","updated_at":"2015-09-17T14:23:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d076cd9bedf02d8bade00c5aee5f04190cf0d530","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brainly/style-guide/pulls/309/commits","review_comments_url":"https://api.github.com/repos/brainly/style-guide/pulls/309/comments","review_comment_url":"https://api.github.com/repos/brainly/style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brainly/style-guide/issues/309/comments","statuses_url":"https://api.github.com/repos/brainly/style-guide/statuses/5df1645ff7ab62eddaf1cbaa0909455fce4ec623","head":{"label":"brainly:feature/scripts-refactor","ref":"feature/scripts-refactor","sha":"5df1645ff7ab62eddaf1cbaa0909455fce4ec623","user":{"login":"brainly","id":3603351,"avatar_url":"https://avatars.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"repo":{"id":37660230,"name":"style-guide","full_name":"brainly/style-guide","owner":{"login":"brainly","id":3603351,"avatar_url":"https://avatars.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brainly/style-guide","description":"Brainly Front-End Style Guide","fork":false,"url":"https://api.github.com/repos/brainly/style-guide","forks_url":"https://api.github.com/repos/brainly/style-guide/forks","keys_url":"https://api.github.com/repos/brainly/style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainly/style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainly/style-guide/teams","hooks_url":"https://api.github.com/repos/brainly/style-guide/hooks","issue_events_url":"https://api.github.com/repos/brainly/style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/brainly/style-guide/events","assignees_url":"https://api.github.com/repos/brainly/style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/brainly/style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/brainly/style-guide/tags","blobs_url":"https://api.github.com/repos/brainly/style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainly/style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainly/style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainly/style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainly/style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/brainly/style-guide/languages","stargazers_url":"https://api.github.com/repos/brainly/style-guide/stargazers","contributors_url":"https://api.github.com/repos/brainly/style-guide/contributors","subscribers_url":"https://api.github.com/repos/brainly/style-guide/subscribers","subscription_url":"https://api.github.com/repos/brainly/style-guide/subscription","commits_url":"https://api.github.com/repos/brainly/style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainly/style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainly/style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainly/style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainly/style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/brainly/style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainly/style-guide/merges","archive_url":"https://api.github.com/repos/brainly/style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainly/style-guide/downloads","issues_url":"https://api.github.com/repos/brainly/style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/brainly/style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/brainly/style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/brainly/style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainly/style-guide/labels{/name}","releases_url":"https://api.github.com/repos/brainly/style-guide/releases{/id}","created_at":"2015-06-18T13:12:08Z","updated_at":"2015-09-16T12:31:44Z","pushed_at":"2015-09-17T13:44:49Z","git_url":"git://github.com/brainly/style-guide.git","ssh_url":"git@github.com:brainly/style-guide.git","clone_url":"https://github.com/brainly/style-guide.git","svn_url":"https://github.com/brainly/style-guide","homepage":"http://styleguide.brainly.com/8.1.0/docs/","size":4958,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":42,"forks":1,"open_issues":42,"watchers":7,"default_branch":"master"}},"base":{"label":"brainly:master","ref":"master","sha":"1d14404c9e9ceb1d36a2b2787f427e86e0351104","user":{"login":"brainly","id":3603351,"avatar_url":"https://avatars.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"repo":{"id":37660230,"name":"style-guide","full_name":"brainly/style-guide","owner":{"login":"brainly","id":3603351,"avatar_url":"https://avatars.githubusercontent.com/u/3603351?v=3","gravatar_id":"","url":"https://api.github.com/users/brainly","html_url":"https://github.com/brainly","followers_url":"https://api.github.com/users/brainly/followers","following_url":"https://api.github.com/users/brainly/following{/other_user}","gists_url":"https://api.github.com/users/brainly/gists{/gist_id}","starred_url":"https://api.github.com/users/brainly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainly/subscriptions","organizations_url":"https://api.github.com/users/brainly/orgs","repos_url":"https://api.github.com/users/brainly/repos","events_url":"https://api.github.com/users/brainly/events{/privacy}","received_events_url":"https://api.github.com/users/brainly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brainly/style-guide","description":"Brainly Front-End Style Guide","fork":false,"url":"https://api.github.com/repos/brainly/style-guide","forks_url":"https://api.github.com/repos/brainly/style-guide/forks","keys_url":"https://api.github.com/repos/brainly/style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brainly/style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brainly/style-guide/teams","hooks_url":"https://api.github.com/repos/brainly/style-guide/hooks","issue_events_url":"https://api.github.com/repos/brainly/style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/brainly/style-guide/events","assignees_url":"https://api.github.com/repos/brainly/style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/brainly/style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/brainly/style-guide/tags","blobs_url":"https://api.github.com/repos/brainly/style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brainly/style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brainly/style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/brainly/style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brainly/style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/brainly/style-guide/languages","stargazers_url":"https://api.github.com/repos/brainly/style-guide/stargazers","contributors_url":"https://api.github.com/repos/brainly/style-guide/contributors","subscribers_url":"https://api.github.com/repos/brainly/style-guide/subscribers","subscription_url":"https://api.github.com/repos/brainly/style-guide/subscription","commits_url":"https://api.github.com/repos/brainly/style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/brainly/style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/brainly/style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/brainly/style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/brainly/style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/brainly/style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brainly/style-guide/merges","archive_url":"https://api.github.com/repos/brainly/style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brainly/style-guide/downloads","issues_url":"https://api.github.com/repos/brainly/style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/brainly/style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/brainly/style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/brainly/style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brainly/style-guide/labels{/name}","releases_url":"https://api.github.com/repos/brainly/style-guide/releases{/id}","created_at":"2015-06-18T13:12:08Z","updated_at":"2015-09-16T12:31:44Z","pushed_at":"2015-09-17T13:44:49Z","git_url":"git://github.com/brainly/style-guide.git","ssh_url":"git@github.com:brainly/style-guide.git","clone_url":"https://github.com/brainly/style-guide.git","svn_url":"https://github.com/brainly/style-guide","homepage":"http://styleguide.brainly.com/8.1.0/docs/","size":4958,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":42,"forks":1,"open_issues":42,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/309"},"html":{"href":"https://github.com/brainly/style-guide/pull/309"},"issue":{"href":"https://api.github.com/repos/brainly/style-guide/issues/309"},"comments":{"href":"https://api.github.com/repos/brainly/style-guide/issues/309/comments"},"review_comments":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/309/comments"},"review_comment":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brainly/style-guide/pulls/309/commits"},"statuses":{"href":"https://api.github.com/repos/brainly/style-guide/statuses/5df1645ff7ab62eddaf1cbaa0909455fce4ec623"}}}}