{"action":"created","issue":{"url":"https://api.github.com/repos/CSSLint/csslint/issues/568","labels_url":"https://api.github.com/repos/CSSLint/csslint/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/CSSLint/csslint/issues/568/comments","events_url":"https://api.github.com/repos/CSSLint/csslint/issues/568/events","html_url":"https://github.com/CSSLint/csslint/pull/568","id":54696957,"number":568,"title":"More lenient config files syntax","user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-18T13:45:10Z","updated_at":"2016-01-14T17:45:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CSSLint/csslint/pulls/568","html_url":"https://github.com/CSSLint/csslint/pull/568","diff_url":"https://github.com/CSSLint/csslint/pull/568.diff","patch_url":"https://github.com/CSSLint/csslint/pull/568.patch"},"body":"Fix the issue of JSON config files not working with more than one option specified (#567).\r\n\r\nAlso allow JSON config values to be strings rather than arrays, e.g.\r\n```json\r\n{\r\n    \"format\": \"checkstyle-xml\",\r\n    \"ignore\": \"important\"\r\n}\r\n```\r\nFinally, and perhaps most significantly, traditionally formatted `.csslintrc` files may now have arbitrary whitespace! So this also addresses #359. The following is now perfectly valid:\r\n```\r\n--ignore=\r\n  adjoining-classes,\r\n  box-model,\r\n  compatible-vendor-prefixes,\r\n  duplicate-background-images,\r\n  import,\r\n  important,\r\n  outline-none,\r\n  overqualified-elements,\r\n  text-indent\r\n--warnings=\r\n  gradients,\r\n  font-sizes,\r\n  floats\r\n--errors=\r\n  shorthand,\r\n  universal-selector,\r\n  fallback-colors\r\n--format=checkstyle-xml\r\n\r\n```\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/csslint/csslint/568)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/CSSLint/csslint/issues/comments/171719790","html_url":"https://github.com/CSSLint/csslint/pull/568#issuecomment-171719790","issue_url":"https://api.github.com/repos/CSSLint/csslint/issues/568","id":171719790,"user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T17:45:21Z","updated_at":"2016-01-14T17:45:21Z","body":"@XhmikosR done. Was going to add tests, but I don't really see a natural place to put them..."}}