{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/504","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/504/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/504/events","html_url":"https://github.com/stylelint/stylelint/issues/504","id":117159562,"number":504,"title":"Add the ability to ignore code to the validation","user":{"login":"raynor85","id":5817333,"avatar_url":"https://avatars.githubusercontent.com/u/5817333?v=3","gravatar_id":"","url":"https://api.github.com/users/raynor85","html_url":"https://github.com/raynor85","followers_url":"https://api.github.com/users/raynor85/followers","following_url":"https://api.github.com/users/raynor85/following{/other_user}","gists_url":"https://api.github.com/users/raynor85/gists{/gist_id}","starred_url":"https://api.github.com/users/raynor85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raynor85/subscriptions","organizations_url":"https://api.github.com/users/raynor85/orgs","repos_url":"https://api.github.com/users/raynor85/repos","events_url":"https://api.github.com/users/raynor85/events{/privacy}","received_events_url":"https://api.github.com/users/raynor85/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-16T16:11:39Z","updated_at":"2015-11-17T11:29:43Z","closed_at":"2015-11-16T16:17:58Z","body":"Sometimes it is useful to ignore certain snippet of css from the validation, for example when you import a third part css into your main.css file.\r\nI would suggest a syntax similar to jshint, someting like that:\r\n\r\n/* jshint ignore:start */\r\n/* jshint ignore:end */"},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/157343052","html_url":"https://github.com/stylelint/stylelint/issues/504#issuecomment-157343052","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/504","id":157343052,"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},"created_at":"2015-11-17T11:29:43Z","updated_at":"2015-11-17T11:29:43Z","body":"1. Separate issue here: https://github.com/stylelint/stylelint/issues/507\r\n2. There's another rule for that:  https://github.com/stylelint/stylelint/blob/master/src/rules/rule-nested-empty-line-before/README.md"}}