{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1232","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1232/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1232/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1232/events","html_url":"https://github.com/stylelint/stylelint/issues/1232","id":154007962,"number":1232,"title":"Stylelint exits with Status Code 0 on Rule Configuration Errors.","user":{"login":"jonny-improbable","id":14162673,"avatar_url":"https://avatars.githubusercontent.com/u/14162673?v=3","gravatar_id":"","url":"https://api.github.com/users/jonny-improbable","html_url":"https://github.com/jonny-improbable","followers_url":"https://api.github.com/users/jonny-improbable/followers","following_url":"https://api.github.com/users/jonny-improbable/following{/other_user}","gists_url":"https://api.github.com/users/jonny-improbable/gists{/gist_id}","starred_url":"https://api.github.com/users/jonny-improbable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonny-improbable/subscriptions","organizations_url":"https://api.github.com/users/jonny-improbable/orgs","repos_url":"https://api.github.com/users/jonny-improbable/repos","events_url":"https://api.github.com/users/jonny-improbable/events{/privacy}","received_events_url":"https://api.github.com/users/jonny-improbable/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stylelint/stylelint/labels/status:%20help%20wanted","name":"status: help wanted","color":"fbca04"},{"url":"https://api.github.com/repos/stylelint/stylelint/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-10T13:35:54Z","updated_at":"2016-05-11T15:30:24Z","closed_at":null,"body":"> Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?\r\n\r\nA bug where stylelint's CLI will exit with a status code of 0 even though a rule-misconfiguraiton has been detected\r\n\r\n> Which rule, if any, is this issue related to?\r\n\r\nN.A\r\n\r\n> What CSS is needed to reproduce this issue?\r\n\r\nN/A\r\n\r\n> What stylelint configuration is needed to reproduce this issue?\r\n\r\nAny config that includes an invalid rule configuration, eg:\r\n\r\n```json\r\n{\r\n  \"rules\": {\r\n    \"declaration-colon-space-after\": \"always-multi-line\",\r\n  }\r\n}\r\n```\r\n\r\n> Which version of stylelint are you using?\r\n\r\ne.g. `2.14.7`\r\n\r\n> How are you running stylelint: CLI, PostCSS plugin, Node API?\r\n\r\n`stylelint --config myconfig *.css`\r\n\r\n> Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?\r\n\r\nNo,\r\n\r\n> What did you expect to happen?\r\n\r\nInvalid configuration should cause stylelint to exits with a non-zero status code.\r\n\r\n> What actually happened (e.g. what warnings or errors you are getting)?\r\n\r\nstylelint exited with a 0 status code.\r\n\r\n```\r\n$> `npm bin`/stylelint *.css\r\nInvalid Option: Invalid option value \"always-multi-line\" for rule \"declaration-colon-space-after\"\r\n\r\n$> echo $?\r\n0\r\n```\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34086564-stylelint-exits-with-status-code-0-on-rule-configuration-errors?utm_campaign=plugin&utm_content=tracker%2F9282518&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9282518&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/218495845","html_url":"https://github.com/stylelint/stylelint/issues/1232#issuecomment-218495845","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1232","id":218495845,"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-05-11T15:30:23Z","updated_at":"2016-05-11T15:30:23Z","body":"@davidtheclark may be add labels priority for better understand what is more important that there is no"}}