{"action":"created","comment":{"url":"https://api.github.com/repos/stylelint/stylelint/pulls/comments/78020979","id":78020979,"diff_hunk":"@@ -55,6 +56,11 @@ export default function (expectation, options) {\n       valueParser(decl.value).walk(node => {\n         const { value, type, sourceIndex } = node\n \n+        if (\n+          optionsMatches(options, \"ignore\", \"inside-function\")\n+          && type === \"function\"\n+          && !colorFunctionNames.has(value.toLowerCase())) { return false }","path":"src/rules/color-named/index.js","position":15,"original_position":15,"commit_id":"9db19105406681b44574a3c72a9b5fee96a6076e","original_commit_id":"b571ad19de25369e80440e119b81dc3ed7dba1f4","user":{"login":"jeddy3","id":808227,"avatar_url":"https://avatars.githubusercontent.com/u/808227?v=3","gravatar_id":"","url":"https://api.github.com/users/jeddy3","html_url":"https://github.com/jeddy3","followers_url":"https://api.github.com/users/jeddy3/followers","following_url":"https://api.github.com/users/jeddy3/following{/other_user}","gists_url":"https://api.github.com/users/jeddy3/gists{/gist_id}","starred_url":"https://api.github.com/users/jeddy3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeddy3/subscriptions","organizations_url":"https://api.github.com/users/jeddy3/orgs","repos_url":"https://api.github.com/users/jeddy3/repos","events_url":"https://api.github.com/users/jeddy3/events{/privacy}","received_events_url":"https://api.github.com/users/jeddy3/received_events","type":"User","site_admin":false},"body":"> Do you think this line is important? Right now I'm thinking it should be cut. I think if it ever actually came up it would be more confusing than helpful to the end user.\r\n\r\nSgtm. I was thinking of a particular edge-case where this option could be used with the `\"always-where-possible\"` primary option.  However, this seems unlikely.\r\n\r\n@gaidarenko Can you please revert this conditional to it's original form. And then I think we're ready to merge.","created_at":"2016-09-08T14:47:03Z","updated_at":"2016-09-08T14:47:03Z","html_url":"https://github.com/stylelint/stylelint/pull/1866#discussion_r78020979","pull_request_url":"https://api.github.com/repos/stylelint/stylelint/pulls/1866","_links":{"self":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/comments/78020979"},"html":{"href":"https://github.com/stylelint/stylelint/pull/1866#discussion_r78020979"},"pull_request":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1866"}}},"pull_request":{"url":"https://api.github.com/repos/stylelint/stylelint/pulls/1866","id":83098317,"html_url":"https://github.com/stylelint/stylelint/pull/1866","diff_url":"https://github.com/stylelint/stylelint/pull/1866.diff","patch_url":"https://github.com/stylelint/stylelint/pull/1866.patch","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1866","number":1866,"state":"open","locked":false,"title":"Add ignore: [inside-function] option to color-named","user":{"login":"gaidarenko","id":15154785,"avatar_url":"https://avatars.githubusercontent.com/u/15154785?v=3","gravatar_id":"","url":"https://api.github.com/users/gaidarenko","html_url":"https://github.com/gaidarenko","followers_url":"https://api.github.com/users/gaidarenko/followers","following_url":"https://api.github.com/users/gaidarenko/following{/other_user}","gists_url":"https://api.github.com/users/gaidarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/gaidarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaidarenko/subscriptions","organizations_url":"https://api.github.com/users/gaidarenko/orgs","repos_url":"https://api.github.com/users/gaidarenko/repos","events_url":"https://api.github.com/users/gaidarenko/events{/privacy}","received_events_url":"https://api.github.com/users/gaidarenko/received_events","type":"User","site_admin":false},"body":"Closes #1736","created_at":"2016-08-29T13:25:46Z","updated_at":"2016-09-08T14:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fed97474c4fa6ae0886b0b8fcb932bb73a56f60","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stylelint/stylelint/pulls/1866/commits","review_comments_url":"https://api.github.com/repos/stylelint/stylelint/pulls/1866/comments","review_comment_url":"https://api.github.com/repos/stylelint/stylelint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1866/comments","statuses_url":"https://api.github.com/repos/stylelint/stylelint/statuses/9db19105406681b44574a3c72a9b5fee96a6076e","head":{"label":"gaidarenko:issue-1736","ref":"issue-1736","sha":"9db19105406681b44574a3c72a9b5fee96a6076e","user":{"login":"gaidarenko","id":15154785,"avatar_url":"https://avatars.githubusercontent.com/u/15154785?v=3","gravatar_id":"","url":"https://api.github.com/users/gaidarenko","html_url":"https://github.com/gaidarenko","followers_url":"https://api.github.com/users/gaidarenko/followers","following_url":"https://api.github.com/users/gaidarenko/following{/other_user}","gists_url":"https://api.github.com/users/gaidarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/gaidarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaidarenko/subscriptions","organizations_url":"https://api.github.com/users/gaidarenko/orgs","repos_url":"https://api.github.com/users/gaidarenko/repos","events_url":"https://api.github.com/users/gaidarenko/events{/privacy}","received_events_url":"https://api.github.com/users/gaidarenko/received_events","type":"User","site_admin":false},"repo":{"id":64992246,"name":"stylelint","full_name":"gaidarenko/stylelint","owner":{"login":"gaidarenko","id":15154785,"avatar_url":"https://avatars.githubusercontent.com/u/15154785?v=3","gravatar_id":"","url":"https://api.github.com/users/gaidarenko","html_url":"https://github.com/gaidarenko","followers_url":"https://api.github.com/users/gaidarenko/followers","following_url":"https://api.github.com/users/gaidarenko/following{/other_user}","gists_url":"https://api.github.com/users/gaidarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/gaidarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaidarenko/subscriptions","organizations_url":"https://api.github.com/users/gaidarenko/orgs","repos_url":"https://api.github.com/users/gaidarenko/repos","events_url":"https://api.github.com/users/gaidarenko/events{/privacy}","received_events_url":"https://api.github.com/users/gaidarenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaidarenko/stylelint","description":"A mighty, modern CSS linter","fork":true,"url":"https://api.github.com/repos/gaidarenko/stylelint","forks_url":"https://api.github.com/repos/gaidarenko/stylelint/forks","keys_url":"https://api.github.com/repos/gaidarenko/stylelint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaidarenko/stylelint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaidarenko/stylelint/teams","hooks_url":"https://api.github.com/repos/gaidarenko/stylelint/hooks","issue_events_url":"https://api.github.com/repos/gaidarenko/stylelint/issues/events{/number}","events_url":"https://api.github.com/repos/gaidarenko/stylelint/events","assignees_url":"https://api.github.com/repos/gaidarenko/stylelint/assignees{/user}","branches_url":"https://api.github.com/repos/gaidarenko/stylelint/branches{/branch}","tags_url":"https://api.github.com/repos/gaidarenko/stylelint/tags","blobs_url":"https://api.github.com/repos/gaidarenko/stylelint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaidarenko/stylelint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaidarenko/stylelint/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaidarenko/stylelint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaidarenko/stylelint/statuses/{sha}","languages_url":"https://api.github.com/repos/gaidarenko/stylelint/languages","stargazers_url":"https://api.github.com/repos/gaidarenko/stylelint/stargazers","contributors_url":"https://api.github.com/repos/gaidarenko/stylelint/contributors","subscribers_url":"https://api.github.com/repos/gaidarenko/stylelint/subscribers","subscription_url":"https://api.github.com/repos/gaidarenko/stylelint/subscription","commits_url":"https://api.github.com/repos/gaidarenko/stylelint/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaidarenko/stylelint/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaidarenko/stylelint/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaidarenko/stylelint/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaidarenko/stylelint/contents/{+path}","compare_url":"https://api.github.com/repos/gaidarenko/stylelint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaidarenko/stylelint/merges","archive_url":"https://api.github.com/repos/gaidarenko/stylelint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaidarenko/stylelint/downloads","issues_url":"https://api.github.com/repos/gaidarenko/stylelint/issues{/number}","pulls_url":"https://api.github.com/repos/gaidarenko/stylelint/pulls{/number}","milestones_url":"https://api.github.com/repos/gaidarenko/stylelint/milestones{/number}","notifications_url":"https://api.github.com/repos/gaidarenko/stylelint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaidarenko/stylelint/labels{/name}","releases_url":"https://api.github.com/repos/gaidarenko/stylelint/releases{/id}","deployments_url":"https://api.github.com/repos/gaidarenko/stylelint/deployments","created_at":"2016-08-05T05:52:41Z","updated_at":"2016-08-05T05:52:43Z","pushed_at":"2016-09-08T08:54:16Z","git_url":"git://github.com/gaidarenko/stylelint.git","ssh_url":"git@github.com:gaidarenko/stylelint.git","clone_url":"https://github.com/gaidarenko/stylelint.git","svn_url":"https://github.com/gaidarenko/stylelint","homepage":"http://stylelint.io/","size":5238,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"stylelint:master","ref":"master","sha":"46035a3d234ed1ac9064847c24b4058af18580b0","user":{"login":"stylelint","id":10076935,"avatar_url":"https://avatars.githubusercontent.com/u/10076935?v=3","gravatar_id":"","url":"https://api.github.com/users/stylelint","html_url":"https://github.com/stylelint","followers_url":"https://api.github.com/users/stylelint/followers","following_url":"https://api.github.com/users/stylelint/following{/other_user}","gists_url":"https://api.github.com/users/stylelint/gists{/gist_id}","starred_url":"https://api.github.com/users/stylelint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stylelint/subscriptions","organizations_url":"https://api.github.com/users/stylelint/orgs","repos_url":"https://api.github.com/users/stylelint/repos","events_url":"https://api.github.com/users/stylelint/events{/privacy}","received_events_url":"https://api.github.com/users/stylelint/received_events","type":"Organization","site_admin":false},"repo":{"id":27549019,"name":"stylelint","full_name":"stylelint/stylelint","owner":{"login":"stylelint","id":10076935,"avatar_url":"https://avatars.githubusercontent.com/u/10076935?v=3","gravatar_id":"","url":"https://api.github.com/users/stylelint","html_url":"https://github.com/stylelint","followers_url":"https://api.github.com/users/stylelint/followers","following_url":"https://api.github.com/users/stylelint/following{/other_user}","gists_url":"https://api.github.com/users/stylelint/gists{/gist_id}","starred_url":"https://api.github.com/users/stylelint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stylelint/subscriptions","organizations_url":"https://api.github.com/users/stylelint/orgs","repos_url":"https://api.github.com/users/stylelint/repos","events_url":"https://api.github.com/users/stylelint/events{/privacy}","received_events_url":"https://api.github.com/users/stylelint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stylelint/stylelint","description":"A mighty, modern CSS linter","fork":false,"url":"https://api.github.com/repos/stylelint/stylelint","forks_url":"https://api.github.com/repos/stylelint/stylelint/forks","keys_url":"https://api.github.com/repos/stylelint/stylelint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stylelint/stylelint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stylelint/stylelint/teams","hooks_url":"https://api.github.com/repos/stylelint/stylelint/hooks","issue_events_url":"https://api.github.com/repos/stylelint/stylelint/issues/events{/number}","events_url":"https://api.github.com/repos/stylelint/stylelint/events","assignees_url":"https://api.github.com/repos/stylelint/stylelint/assignees{/user}","branches_url":"https://api.github.com/repos/stylelint/stylelint/branches{/branch}","tags_url":"https://api.github.com/repos/stylelint/stylelint/tags","blobs_url":"https://api.github.com/repos/stylelint/stylelint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stylelint/stylelint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stylelint/stylelint/git/refs{/sha}","trees_url":"https://api.github.com/repos/stylelint/stylelint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stylelint/stylelint/statuses/{sha}","languages_url":"https://api.github.com/repos/stylelint/stylelint/languages","stargazers_url":"https://api.github.com/repos/stylelint/stylelint/stargazers","contributors_url":"https://api.github.com/repos/stylelint/stylelint/contributors","subscribers_url":"https://api.github.com/repos/stylelint/stylelint/subscribers","subscription_url":"https://api.github.com/repos/stylelint/stylelint/subscription","commits_url":"https://api.github.com/repos/stylelint/stylelint/commits{/sha}","git_commits_url":"https://api.github.com/repos/stylelint/stylelint/git/commits{/sha}","comments_url":"https://api.github.com/repos/stylelint/stylelint/comments{/number}","issue_comment_url":"https://api.github.com/repos/stylelint/stylelint/issues/comments{/number}","contents_url":"https://api.github.com/repos/stylelint/stylelint/contents/{+path}","compare_url":"https://api.github.com/repos/stylelint/stylelint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stylelint/stylelint/merges","archive_url":"https://api.github.com/repos/stylelint/stylelint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stylelint/stylelint/downloads","issues_url":"https://api.github.com/repos/stylelint/stylelint/issues{/number}","pulls_url":"https://api.github.com/repos/stylelint/stylelint/pulls{/number}","milestones_url":"https://api.github.com/repos/stylelint/stylelint/milestones{/number}","notifications_url":"https://api.github.com/repos/stylelint/stylelint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stylelint/stylelint/labels{/name}","releases_url":"https://api.github.com/repos/stylelint/stylelint/releases{/id}","deployments_url":"https://api.github.com/repos/stylelint/stylelint/deployments","created_at":"2014-12-04T16:25:23Z","updated_at":"2016-09-08T04:45:14Z","pushed_at":"2016-09-08T14:14:40Z","git_url":"git://github.com/stylelint/stylelint.git","ssh_url":"git@github.com:stylelint/stylelint.git","clone_url":"https://github.com/stylelint/stylelint.git","svn_url":"https://github.com/stylelint/stylelint","homepage":"http://stylelint.io/","size":5720,"stargazers_count":2107,"watchers_count":2107,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":44,"forks":152,"open_issues":44,"watchers":2107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1866"},"html":{"href":"https://github.com/stylelint/stylelint/pull/1866"},"issue":{"href":"https://api.github.com/repos/stylelint/stylelint/issues/1866"},"comments":{"href":"https://api.github.com/repos/stylelint/stylelint/issues/1866/comments"},"review_comments":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1866/comments"},"review_comment":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1866/commits"},"statuses":{"href":"https://api.github.com/repos/stylelint/stylelint/statuses/9db19105406681b44574a3c72a9b5fee96a6076e"}}}}
{"actor":{"display_login":"jeddy3"}}