{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1714","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1714/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1714/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1714/events","html_url":"https://github.com/stylelint/stylelint/issues/1714","id":167610725,"number":1714,"title":"New rule `value-list-no-single-line`","user":{"login":"evilebottnawi","id":4567934,"avatar_url":"https://avatars.githubusercontent.com/u/4567934?v=3","gravatar_id":"","url":"https://api.github.com/users/evilebottnawi","html_url":"https://github.com/evilebottnawi","followers_url":"https://api.github.com/users/evilebottnawi/followers","following_url":"https://api.github.com/users/evilebottnawi/following{/other_user}","gists_url":"https://api.github.com/users/evilebottnawi/gists{/gist_id}","starred_url":"https://api.github.com/users/evilebottnawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilebottnawi/subscriptions","organizations_url":"https://api.github.com/users/evilebottnawi/orgs","repos_url":"https://api.github.com/users/evilebottnawi/repos","events_url":"https://api.github.com/users/evilebottnawi/events{/privacy}","received_events_url":"https://api.github.com/users/evilebottnawi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stylelint/stylelint/labels/status:%20discussion","name":"status: discussion","color":"0023ee"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-26T13:44:49Z","updated_at":"2016-07-26T22:01:01Z","closed_at":null,"body":"Disable single line value list with multiple value list.\r\nValid\r\n```css\r\nbox-shadow: inset 0 2px 0 #dcffa6, \r\n  0 2px 5px #000;\r\n```\r\n\r\n```css\r\nbox-shadow: \r\n  inset 0 2px 0 #dcffa6, \r\n  0 2px 5px #000;\r\n```\r\n\r\nWith one value list we ignore:\r\n```css\r\nbox-shadow: inset 0 2px 0 #dcffa6;\r\n```\r\n\r\n```css\r\nbox-shadow: \r\n  inset 0 2px 0 #dcffa6;\r\n```\r\nInvalid:\r\n\r\n```css\r\nbox-shadow: inset 0 2px 0 #dcffa6, 0 2px 5px #000;\r\n```"},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/235419529","html_url":"https://github.com/stylelint/stylelint/issues/1714#issuecomment-235419529","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1714","id":235419529,"user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T22:01:01Z","updated_at":"2016-07-26T22:01:01Z","body":"I don't understand. If you change your config to:\n\n```\n{\n  \"rules\": {\n    \"declaration-colon-space-after\": \"always-single-line\",\n    \"declaration-colon-newline-after\": \"always-multi-line\",\n    \"value-list-comma-newline-after\": \"always\"\n  }\n}\n```\n\n... that doesn't meet your expectation?\n\n```css\nbox-shadow: inset 0 2px 0 #dcffa6, \n  0 2px 5px #000;\n``\n— should be invalid because of `\"declaration-colon-newline-after\": \"always-multi-line\"`\n\n```\nbox-shadow: inset 0 2px 0 #dcffa6, 0 2px 5px #000;\n```\n— should be invalid because of `\"value-list-comma-newline-after\": \"always\"`"}}
{"actor":{"display_login":"davidtheclark"}}