{"action":"created","comment":{"url":"https://api.github.com/repos/stylelint/stylelint/pulls/comments/71331069","id":71331069,"diff_hunk":"@@ -0,0 +1,155 @@\n+# custom-property-empty-lines-before\n+\n+Require or disallow an empty line before custom properties.\n+\n+```css\n+a {\n+  --custom-prop: value;\n+                          /* ← */\n+  --custom-prop2: value;  /* ↑ */   \n+}                         /* ↑ */\n+/**                          ↑\n+ *                   This line */\n+```\n+\n+## Options\n+\n+### `always`\n+\n+The following patterns are considered warnings:\n+\n+```css\n+a {\n+  --custom-prop: value;\n+  --custom-prop2: value;\n+}\n+```\n+\n+```css\n+a { --custom-prop: value;\n+  --custom-prop2: value;\n+}\n+```\n+\n+The following patterns are *not* considered warnings:\n+\n+```css\n+a {\n+\n+  --custom-prop: value;\n+\n+  --custom-prop2: value;\n+}\n+```\n+\n+### `never`\n+\n+The following patterns are considered warnings:\n+\n+```css\n+a {\n+  --custom-prop: value;\n+\n+  --custom-prop2: value;\n+}\n+```\n+\n+```css\n+a {\n+\n+  --custom-prop: value;\n+  --custom-prop2: value;\n+}\n+```\n+\n+The following patterns are *not* considered warnings:\n+\n+```css\n+a {\n+  --custom-prop: value;\n+  --custom-prop2: value;\n+}\n+```\n+\n+## Optional options\n+\n+### `except: [\"first-nested\", \"after-comment\", \"after-custom-property\"]`\n+\n+### `first-nested`\n+\n+Reverse the primary option for custom-property that are nested and the first child of their parent node..\n+\n+For example, with `\"always\"`:\n+\n+The following patterns are considered warnings:\n+\n+```css\n+.foo {\n+\n+  --custom-prop: value;\n+\n+  --custom-prop2: value;\n+}\n+```\n+\n+The following patterns are *not* considered warnings:\n+\n+```css\n+.foo {\n+  --custom-prop: value;\n+\n+  --custom-prop2: value;\n+}\n+```\n+### `after-comment`\n+\n+Reverse the primary option for custom properties that come after a comment.\n+\n+For example, with `\"always\"`:\n+\n+The following patterns are considered warnings:\n+\n+```css","path":"src/rules/custom-property-empty-line-before/README.md","position":86,"original_position":112,"commit_id":"7703a64469f05df0731ba8084525d1dc43eb4552","original_commit_id":"7703a64469f05df0731ba8084525d1dc43eb4552","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":"```css\r\n.foo {\r\n\r\n  --custom-prop: value;\r\n  /* comment */\r\n\r\n  --custom-prop2: value;\r\n}\r\n```","created_at":"2016-07-19T12:51:51Z","updated_at":"2016-07-19T12:51:51Z","html_url":"https://github.com/stylelint/stylelint/pull/1653#discussion_r71331069","pull_request_url":"https://api.github.com/repos/stylelint/stylelint/pulls/1653","_links":{"self":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/comments/71331069"},"html":{"href":"https://github.com/stylelint/stylelint/pull/1653#discussion_r71331069"},"pull_request":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1653"}}},"pull_request":{"url":"https://api.github.com/repos/stylelint/stylelint/pulls/1653","id":77448523,"html_url":"https://github.com/stylelint/stylelint/pull/1653","diff_url":"https://github.com/stylelint/stylelint/pull/1653.diff","patch_url":"https://github.com/stylelint/stylelint/pull/1653.patch","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1653","number":1653,"state":"open","locked":false,"title":"Add custom-property-empty-line-before","user":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"body":"fixes #1578 \r\n\r\n\r\nNote: very first try :)","created_at":"2016-07-14T12:34:40Z","updated_at":"2016-07-19T12:51:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d81908f1689401dab6e250ed736cfd5589ca676f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stylelint/stylelint/pulls/1653/commits","review_comments_url":"https://api.github.com/repos/stylelint/stylelint/pulls/1653/comments","review_comment_url":"https://api.github.com/repos/stylelint/stylelint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1653/comments","statuses_url":"https://api.github.com/repos/stylelint/stylelint/statuses/7703a64469f05df0731ba8084525d1dc43eb4552","head":{"label":"sendilkumarn:custom","ref":"custom","sha":"7703a64469f05df0731ba8084525d1dc43eb4552","user":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"repo":{"id":63142590,"name":"stylelint","full_name":"sendilkumarn/stylelint","owner":{"login":"sendilkumarn","id":12471122,"avatar_url":"https://avatars.githubusercontent.com/u/12471122?v=3","gravatar_id":"","url":"https://api.github.com/users/sendilkumarn","html_url":"https://github.com/sendilkumarn","followers_url":"https://api.github.com/users/sendilkumarn/followers","following_url":"https://api.github.com/users/sendilkumarn/following{/other_user}","gists_url":"https://api.github.com/users/sendilkumarn/gists{/gist_id}","starred_url":"https://api.github.com/users/sendilkumarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendilkumarn/subscriptions","organizations_url":"https://api.github.com/users/sendilkumarn/orgs","repos_url":"https://api.github.com/users/sendilkumarn/repos","events_url":"https://api.github.com/users/sendilkumarn/events{/privacy}","received_events_url":"https://api.github.com/users/sendilkumarn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sendilkumarn/stylelint","description":"A mighty, modern CSS linter","fork":true,"url":"https://api.github.com/repos/sendilkumarn/stylelint","forks_url":"https://api.github.com/repos/sendilkumarn/stylelint/forks","keys_url":"https://api.github.com/repos/sendilkumarn/stylelint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendilkumarn/stylelint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendilkumarn/stylelint/teams","hooks_url":"https://api.github.com/repos/sendilkumarn/stylelint/hooks","issue_events_url":"https://api.github.com/repos/sendilkumarn/stylelint/issues/events{/number}","events_url":"https://api.github.com/repos/sendilkumarn/stylelint/events","assignees_url":"https://api.github.com/repos/sendilkumarn/stylelint/assignees{/user}","branches_url":"https://api.github.com/repos/sendilkumarn/stylelint/branches{/branch}","tags_url":"https://api.github.com/repos/sendilkumarn/stylelint/tags","blobs_url":"https://api.github.com/repos/sendilkumarn/stylelint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendilkumarn/stylelint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendilkumarn/stylelint/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendilkumarn/stylelint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendilkumarn/stylelint/statuses/{sha}","languages_url":"https://api.github.com/repos/sendilkumarn/stylelint/languages","stargazers_url":"https://api.github.com/repos/sendilkumarn/stylelint/stargazers","contributors_url":"https://api.github.com/repos/sendilkumarn/stylelint/contributors","subscribers_url":"https://api.github.com/repos/sendilkumarn/stylelint/subscribers","subscription_url":"https://api.github.com/repos/sendilkumarn/stylelint/subscription","commits_url":"https://api.github.com/repos/sendilkumarn/stylelint/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendilkumarn/stylelint/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendilkumarn/stylelint/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendilkumarn/stylelint/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendilkumarn/stylelint/contents/{+path}","compare_url":"https://api.github.com/repos/sendilkumarn/stylelint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendilkumarn/stylelint/merges","archive_url":"https://api.github.com/repos/sendilkumarn/stylelint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendilkumarn/stylelint/downloads","issues_url":"https://api.github.com/repos/sendilkumarn/stylelint/issues{/number}","pulls_url":"https://api.github.com/repos/sendilkumarn/stylelint/pulls{/number}","milestones_url":"https://api.github.com/repos/sendilkumarn/stylelint/milestones{/number}","notifications_url":"https://api.github.com/repos/sendilkumarn/stylelint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendilkumarn/stylelint/labels{/name}","releases_url":"https://api.github.com/repos/sendilkumarn/stylelint/releases{/id}","deployments_url":"https://api.github.com/repos/sendilkumarn/stylelint/deployments","created_at":"2016-07-12T08:56:30Z","updated_at":"2016-07-12T08:56:32Z","pushed_at":"2016-07-19T09:34:25Z","git_url":"git://github.com/sendilkumarn/stylelint.git","ssh_url":"git@github.com:sendilkumarn/stylelint.git","clone_url":"https://github.com/sendilkumarn/stylelint.git","svn_url":"https://github.com/sendilkumarn/stylelint","homepage":"http://stylelint.io/","size":4982,"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":"7cf5fa3f9d15d5173e363e2cd9c8c083e5dfeb6d","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-07-18T20:43:34Z","pushed_at":"2016-07-19T12:39:49Z","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":5419,"stargazers_count":1912,"watchers_count":1912,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":41,"forks":125,"open_issues":41,"watchers":1912,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1653"},"html":{"href":"https://github.com/stylelint/stylelint/pull/1653"},"issue":{"href":"https://api.github.com/repos/stylelint/stylelint/issues/1653"},"comments":{"href":"https://api.github.com/repos/stylelint/stylelint/issues/1653/comments"},"review_comments":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1653/comments"},"review_comment":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stylelint/stylelint/pulls/1653/commits"},"statuses":{"href":"https://api.github.com/repos/stylelint/stylelint/statuses/7703a64469f05df0731ba8084525d1dc43eb4552"}}}}
{"actor":{"display_login":"jeddy3"}}