{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1003","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1003/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1003/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1003/events","html_url":"https://github.com/stylelint/stylelint/issues/1003","id":145178176,"number":1003,"title":"new rule `property-value-no-negative`","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,"milestone":null,"comments":3,"created_at":"2016-04-01T13:15:15Z","updated_at":"2016-04-02T15:42:04Z","closed_at":null,"body":"> Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?\r\n\r\nThrow error if find negative value with property, which not support negative value. Most often this means typing error.\r\n\r\n> Which rule, if any, is this issue related to?\r\n\r\n`property-value-no-negative`\r\n\r\n> What CSS is needed to reproduce this issue?\r\n\r\n\r\n```css\r\n.foo {\r\n  width: -100px\r\n  height: -100px\r\n  padding: -10px\r\n  ...\r\n}\r\n```\r\n\r\n> What stylelint configuration is needed to reproduce this issue?\r\n\r\n```json\r\n{\r\n  \"rules\": {\r\n    \"property-value-no-negative\": true\r\n  }\r\n}\r\n```\r\n\r\n> Which version of stylelint are you using?\r\n\r\ne.g. `5.2.1`\r\n\r\n> How are you running stylelint: CLI, PostCSS plugin, Node API?\r\n\r\nnot matter\r\n\r\n> Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?\r\n\r\ne.g. \"Yes, it's related to SCSS maps.\"\r\n\r\nnot matter\r\n\r\n> What actually happened (e.g. what warnings or errors you are getting)?\r\n\r\nNothing\r\n\r\n<!--- Note: stackoverflow is our preferred QA forum - http://stackoverflow.com/questions/tagged/stylelint -->\r\n"},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/204740853","html_url":"https://github.com/stylelint/stylelint/issues/1003#issuecomment-204740853","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1003","id":204740853,"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},"created_at":"2016-04-02T15:42:04Z","updated_at":"2016-04-02T15:42:04Z","body":"@jeddy3 sounds good, i think it would be a good idea first to create separate rules to understand how all these rules apply to write good css. In the future, already combine these rules. What do you think? "}}