{"action":"created","comment":{"url":"https://api.github.com/repos/sasstools/sass-lint/pulls/comments/45092455","id":45092455,"diff_hunk":"@@ -3,7 +3,12 @@\n var util = require('util'),\n     fs = require('fs'),\n     path = require('path'),\n-    yaml = require('js-yaml');\n+    yaml = require('js-yaml'),\n+    merge = require('merge');\n+\n+var clone = function (obj) {","path":"lib/helpers.js","position":8,"original_position":8,"commit_id":"d4dec08f846cd111ac8e49225ca8d7e813f6baee","original_commit_id":"d4dec08f846cd111ac8e49225ca8d7e813f6baee","user":{"login":"DanPurdy","id":1386054,"avatar_url":"https://avatars.githubusercontent.com/u/1386054?v=3","gravatar_id":"","url":"https://api.github.com/users/DanPurdy","html_url":"https://github.com/DanPurdy","followers_url":"https://api.github.com/users/DanPurdy/followers","following_url":"https://api.github.com/users/DanPurdy/following{/other_user}","gists_url":"https://api.github.com/users/DanPurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/DanPurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanPurdy/subscriptions","organizations_url":"https://api.github.com/users/DanPurdy/orgs","repos_url":"https://api.github.com/users/DanPurdy/repos","events_url":"https://api.github.com/users/DanPurdy/events{/privacy}","received_events_url":"https://api.github.com/users/DanPurdy/received_events","type":"User","site_admin":false},"body":"Can we include JSDoc style comments for each new function in helpers please.","created_at":"2015-11-17T17:43:36Z","updated_at":"2015-11-17T17:43:36Z","html_url":"https://github.com/sasstools/sass-lint/pull/327#discussion_r45092455","pull_request_url":"https://api.github.com/repos/sasstools/sass-lint/pulls/327","_links":{"self":{"href":"https://api.github.com/repos/sasstools/sass-lint/pulls/comments/45092455"},"html":{"href":"https://github.com/sasstools/sass-lint/pull/327#discussion_r45092455"},"pull_request":{"href":"https://api.github.com/repos/sasstools/sass-lint/pulls/327"}}},"pull_request":{"url":"https://api.github.com/repos/sasstools/sass-lint/pulls/327","id":48000521,"html_url":"https://github.com/sasstools/sass-lint/pull/327","diff_url":"https://github.com/sasstools/sass-lint/pull/327.diff","patch_url":"https://github.com/sasstools/sass-lint/pull/327.patch","issue_url":"https://api.github.com/repos/sasstools/sass-lint/issues/327","number":327,"state":"open","locked":false,"title":"Add rule: class-name-format","user":{"login":"benthemonkey","id":3318034,"avatar_url":"https://avatars.githubusercontent.com/u/3318034?v=3","gravatar_id":"","url":"https://api.github.com/users/benthemonkey","html_url":"https://github.com/benthemonkey","followers_url":"https://api.github.com/users/benthemonkey/followers","following_url":"https://api.github.com/users/benthemonkey/following{/other_user}","gists_url":"https://api.github.com/users/benthemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/benthemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benthemonkey/subscriptions","organizations_url":"https://api.github.com/users/benthemonkey/orgs","repos_url":"https://api.github.com/users/benthemonkey/repos","events_url":"https://api.github.com/users/benthemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/benthemonkey/received_events","type":"User","site_admin":false},"body":"Slightly different than the other `name-format` rules. It adds `ignore`, an array of whitelisted names.\r\n\r\n- [X] Add `allow-leading-underscore` back in\r\n- [x] Add rule to `lib/config/sass-lint.yml`\r\n- [x] Still need to add unit tests for the two helper functions I added.\r\n- [x] More test examples\r\n- [x] Handle suffix extensions to selectors\r\n\r\nI welcome feedback on the documentation, as I'm not very familiar with BEM.\r\n\r\nWill close #324 \r\n\r\nDCO 1.1 Signed-off-by: Ben Rothman <bensrothman@gmail.com>","created_at":"2015-10-18T02:59:50Z","updated_at":"2015-11-17T17:43:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20d86d24d8e489f7adf927a77beddb7bcbf62955","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sasstools/sass-lint/pulls/327/commits","review_comments_url":"https://api.github.com/repos/sasstools/sass-lint/pulls/327/comments","review_comment_url":"https://api.github.com/repos/sasstools/sass-lint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sasstools/sass-lint/issues/327/comments","statuses_url":"https://api.github.com/repos/sasstools/sass-lint/statuses/d4dec08f846cd111ac8e49225ca8d7e813f6baee","head":{"label":"benthemonkey:feature/class-name-format","ref":"feature/class-name-format","sha":"d4dec08f846cd111ac8e49225ca8d7e813f6baee","user":{"login":"benthemonkey","id":3318034,"avatar_url":"https://avatars.githubusercontent.com/u/3318034?v=3","gravatar_id":"","url":"https://api.github.com/users/benthemonkey","html_url":"https://github.com/benthemonkey","followers_url":"https://api.github.com/users/benthemonkey/followers","following_url":"https://api.github.com/users/benthemonkey/following{/other_user}","gists_url":"https://api.github.com/users/benthemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/benthemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benthemonkey/subscriptions","organizations_url":"https://api.github.com/users/benthemonkey/orgs","repos_url":"https://api.github.com/users/benthemonkey/repos","events_url":"https://api.github.com/users/benthemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/benthemonkey/received_events","type":"User","site_admin":false},"repo":{"id":43730670,"name":"sass-lint","full_name":"benthemonkey/sass-lint","owner":{"login":"benthemonkey","id":3318034,"avatar_url":"https://avatars.githubusercontent.com/u/3318034?v=3","gravatar_id":"","url":"https://api.github.com/users/benthemonkey","html_url":"https://github.com/benthemonkey","followers_url":"https://api.github.com/users/benthemonkey/followers","following_url":"https://api.github.com/users/benthemonkey/following{/other_user}","gists_url":"https://api.github.com/users/benthemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/benthemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benthemonkey/subscriptions","organizations_url":"https://api.github.com/users/benthemonkey/orgs","repos_url":"https://api.github.com/users/benthemonkey/repos","events_url":"https://api.github.com/users/benthemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/benthemonkey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benthemonkey/sass-lint","description":"Pure Node.js Sass linting","fork":true,"url":"https://api.github.com/repos/benthemonkey/sass-lint","forks_url":"https://api.github.com/repos/benthemonkey/sass-lint/forks","keys_url":"https://api.github.com/repos/benthemonkey/sass-lint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benthemonkey/sass-lint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benthemonkey/sass-lint/teams","hooks_url":"https://api.github.com/repos/benthemonkey/sass-lint/hooks","issue_events_url":"https://api.github.com/repos/benthemonkey/sass-lint/issues/events{/number}","events_url":"https://api.github.com/repos/benthemonkey/sass-lint/events","assignees_url":"https://api.github.com/repos/benthemonkey/sass-lint/assignees{/user}","branches_url":"https://api.github.com/repos/benthemonkey/sass-lint/branches{/branch}","tags_url":"https://api.github.com/repos/benthemonkey/sass-lint/tags","blobs_url":"https://api.github.com/repos/benthemonkey/sass-lint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benthemonkey/sass-lint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benthemonkey/sass-lint/git/refs{/sha}","trees_url":"https://api.github.com/repos/benthemonkey/sass-lint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benthemonkey/sass-lint/statuses/{sha}","languages_url":"https://api.github.com/repos/benthemonkey/sass-lint/languages","stargazers_url":"https://api.github.com/repos/benthemonkey/sass-lint/stargazers","contributors_url":"https://api.github.com/repos/benthemonkey/sass-lint/contributors","subscribers_url":"https://api.github.com/repos/benthemonkey/sass-lint/subscribers","subscription_url":"https://api.github.com/repos/benthemonkey/sass-lint/subscription","commits_url":"https://api.github.com/repos/benthemonkey/sass-lint/commits{/sha}","git_commits_url":"https://api.github.com/repos/benthemonkey/sass-lint/git/commits{/sha}","comments_url":"https://api.github.com/repos/benthemonkey/sass-lint/comments{/number}","issue_comment_url":"https://api.github.com/repos/benthemonkey/sass-lint/issues/comments{/number}","contents_url":"https://api.github.com/repos/benthemonkey/sass-lint/contents/{+path}","compare_url":"https://api.github.com/repos/benthemonkey/sass-lint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benthemonkey/sass-lint/merges","archive_url":"https://api.github.com/repos/benthemonkey/sass-lint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benthemonkey/sass-lint/downloads","issues_url":"https://api.github.com/repos/benthemonkey/sass-lint/issues{/number}","pulls_url":"https://api.github.com/repos/benthemonkey/sass-lint/pulls{/number}","milestones_url":"https://api.github.com/repos/benthemonkey/sass-lint/milestones{/number}","notifications_url":"https://api.github.com/repos/benthemonkey/sass-lint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benthemonkey/sass-lint/labels{/name}","releases_url":"https://api.github.com/repos/benthemonkey/sass-lint/releases{/id}","created_at":"2015-10-06T04:57:37Z","updated_at":"2015-10-06T04:57:38Z","pushed_at":"2015-11-17T16:35:18Z","git_url":"git://github.com/benthemonkey/sass-lint.git","ssh_url":"git@github.com:benthemonkey/sass-lint.git","clone_url":"https://github.com/benthemonkey/sass-lint.git","svn_url":"https://github.com/benthemonkey/sass-lint","homepage":"","size":731,"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":"develop"}},"base":{"label":"sasstools:develop","ref":"develop","sha":"db59d7556f3e966d437fcd1e3183949045c4f3c7","user":{"login":"sasstools","id":11896310,"avatar_url":"https://avatars.githubusercontent.com/u/11896310?v=3","gravatar_id":"","url":"https://api.github.com/users/sasstools","html_url":"https://github.com/sasstools","followers_url":"https://api.github.com/users/sasstools/followers","following_url":"https://api.github.com/users/sasstools/following{/other_user}","gists_url":"https://api.github.com/users/sasstools/gists{/gist_id}","starred_url":"https://api.github.com/users/sasstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sasstools/subscriptions","organizations_url":"https://api.github.com/users/sasstools/orgs","repos_url":"https://api.github.com/users/sasstools/repos","events_url":"https://api.github.com/users/sasstools/events{/privacy}","received_events_url":"https://api.github.com/users/sasstools/received_events","type":"Organization","site_admin":false},"repo":{"id":30891787,"name":"sass-lint","full_name":"sasstools/sass-lint","owner":{"login":"sasstools","id":11896310,"avatar_url":"https://avatars.githubusercontent.com/u/11896310?v=3","gravatar_id":"","url":"https://api.github.com/users/sasstools","html_url":"https://github.com/sasstools","followers_url":"https://api.github.com/users/sasstools/followers","following_url":"https://api.github.com/users/sasstools/following{/other_user}","gists_url":"https://api.github.com/users/sasstools/gists{/gist_id}","starred_url":"https://api.github.com/users/sasstools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sasstools/subscriptions","organizations_url":"https://api.github.com/users/sasstools/orgs","repos_url":"https://api.github.com/users/sasstools/repos","events_url":"https://api.github.com/users/sasstools/events{/privacy}","received_events_url":"https://api.github.com/users/sasstools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sasstools/sass-lint","description":"Pure Node.js Sass linting","fork":false,"url":"https://api.github.com/repos/sasstools/sass-lint","forks_url":"https://api.github.com/repos/sasstools/sass-lint/forks","keys_url":"https://api.github.com/repos/sasstools/sass-lint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sasstools/sass-lint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sasstools/sass-lint/teams","hooks_url":"https://api.github.com/repos/sasstools/sass-lint/hooks","issue_events_url":"https://api.github.com/repos/sasstools/sass-lint/issues/events{/number}","events_url":"https://api.github.com/repos/sasstools/sass-lint/events","assignees_url":"https://api.github.com/repos/sasstools/sass-lint/assignees{/user}","branches_url":"https://api.github.com/repos/sasstools/sass-lint/branches{/branch}","tags_url":"https://api.github.com/repos/sasstools/sass-lint/tags","blobs_url":"https://api.github.com/repos/sasstools/sass-lint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sasstools/sass-lint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sasstools/sass-lint/git/refs{/sha}","trees_url":"https://api.github.com/repos/sasstools/sass-lint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sasstools/sass-lint/statuses/{sha}","languages_url":"https://api.github.com/repos/sasstools/sass-lint/languages","stargazers_url":"https://api.github.com/repos/sasstools/sass-lint/stargazers","contributors_url":"https://api.github.com/repos/sasstools/sass-lint/contributors","subscribers_url":"https://api.github.com/repos/sasstools/sass-lint/subscribers","subscription_url":"https://api.github.com/repos/sasstools/sass-lint/subscription","commits_url":"https://api.github.com/repos/sasstools/sass-lint/commits{/sha}","git_commits_url":"https://api.github.com/repos/sasstools/sass-lint/git/commits{/sha}","comments_url":"https://api.github.com/repos/sasstools/sass-lint/comments{/number}","issue_comment_url":"https://api.github.com/repos/sasstools/sass-lint/issues/comments{/number}","contents_url":"https://api.github.com/repos/sasstools/sass-lint/contents/{+path}","compare_url":"https://api.github.com/repos/sasstools/sass-lint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sasstools/sass-lint/merges","archive_url":"https://api.github.com/repos/sasstools/sass-lint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sasstools/sass-lint/downloads","issues_url":"https://api.github.com/repos/sasstools/sass-lint/issues{/number}","pulls_url":"https://api.github.com/repos/sasstools/sass-lint/pulls{/number}","milestones_url":"https://api.github.com/repos/sasstools/sass-lint/milestones{/number}","notifications_url":"https://api.github.com/repos/sasstools/sass-lint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sasstools/sass-lint/labels{/name}","releases_url":"https://api.github.com/repos/sasstools/sass-lint/releases{/id}","created_at":"2015-02-16T22:33:34Z","updated_at":"2015-11-16T17:14:29Z","pushed_at":"2015-11-17T16:35:19Z","git_url":"git://github.com/sasstools/sass-lint.git","ssh_url":"git@github.com:sasstools/sass-lint.git","clone_url":"https://github.com/sasstools/sass-lint.git","svn_url":"https://github.com/sasstools/sass-lint","homepage":"","size":787,"stargazers_count":295,"watchers_count":295,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":64,"forks":32,"open_issues":64,"watchers":295,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sasstools/sass-lint/pulls/327"},"html":{"href":"https://github.com/sasstools/sass-lint/pull/327"},"issue":{"href":"https://api.github.com/repos/sasstools/sass-lint/issues/327"},"comments":{"href":"https://api.github.com/repos/sasstools/sass-lint/issues/327/comments"},"review_comments":{"href":"https://api.github.com/repos/sasstools/sass-lint/pulls/327/comments"},"review_comment":{"href":"https://api.github.com/repos/sasstools/sass-lint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sasstools/sass-lint/pulls/327/commits"},"statuses":{"href":"https://api.github.com/repos/sasstools/sass-lint/statuses/d4dec08f846cd111ac8e49225ca8d7e813f6baee"}}}}