{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1903","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1903/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1903/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1903/events","html_url":"https://github.com/stylelint/stylelint/issues/1903","id":177159017,"number":1903,"title":"Add custom properties to be recognized","user":{"login":"mradke","id":8765967,"avatar_url":"https://avatars.githubusercontent.com/u/8765967?v=3","gravatar_id":"","url":"https://api.github.com/users/mradke","html_url":"https://github.com/mradke","followers_url":"https://api.github.com/users/mradke/followers","following_url":"https://api.github.com/users/mradke/following{/other_user}","gists_url":"https://api.github.com/users/mradke/gists{/gist_id}","starred_url":"https://api.github.com/users/mradke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mradke/subscriptions","organizations_url":"https://api.github.com/users/mradke/orgs","repos_url":"https://api.github.com/users/mradke/repos","events_url":"https://api.github.com/users/mradke/events{/privacy}","received_events_url":"https://api.github.com/users/mradke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-15T12:06:58Z","updated_at":"2016-09-15T13:26:20Z","closed_at":"2016-09-15T13:26:20Z","body":"This issue is probably a feature request. I want to be able to specify custom properties without deactivating \"property-no-unknown\" completely.\r\n\r\nGiven the following post-css (I am using https://github.com/peterramsing/lost) declaration:\r\n```css\r\n.foo {\r\n  lost-utility: clearfix;\r\n}\r\n```\r\n\r\nand this stylelint config\r\n```json\r\n{\r\n  \"rules\": {\r\n    \"property-no-unknown\": true,\r\n    \"custom-property-pattern\": \"lost-.+\",\r\n  }\r\n}\r\n```\r\n\r\nRunning Version `7.2.0` through Webpack and Atom plugin should not result in a warning or error.\r\n\r\nHowever I am issued with an error `Unexpected unknown property \"lost-utility\" (property no unknown)`.\r\n\r\nProbably my understanding for the `custom-property-pattern` function is wrong. How do others handle this?\r\n"},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/247327168","html_url":"https://github.com/stylelint/stylelint/issues/1903#issuecomment-247327168","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1903","id":247327168,"user":{"login":"mradke","id":8765967,"avatar_url":"https://avatars.githubusercontent.com/u/8765967?v=3","gravatar_id":"","url":"https://api.github.com/users/mradke","html_url":"https://github.com/mradke","followers_url":"https://api.github.com/users/mradke/followers","following_url":"https://api.github.com/users/mradke/following{/other_user}","gists_url":"https://api.github.com/users/mradke/gists{/gist_id}","starred_url":"https://api.github.com/users/mradke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mradke/subscriptions","organizations_url":"https://api.github.com/users/mradke/orgs","repos_url":"https://api.github.com/users/mradke/repos","events_url":"https://api.github.com/users/mradke/events{/privacy}","received_events_url":"https://api.github.com/users/mradke/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T13:26:20Z","updated_at":"2016-09-15T13:26:20Z","body":"Ah thanks for the heads up! I was completely missing the secondary options of the rule - sorry."}}
{"actor":{"display_login":"mradke"}}