{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/876","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/876/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/876/events","html_url":"https://github.com/stylelint/stylelint/issues/876","id":139116754,"number":876,"title":"error in config no longer produces error in stats.compilation.errors","user":{"login":"adrianhall","id":1489465,"avatar_url":"https://avatars.githubusercontent.com/u/1489465?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhall","html_url":"https://github.com/adrianhall","followers_url":"https://api.github.com/users/adrianhall/followers","following_url":"https://api.github.com/users/adrianhall/following{/other_user}","gists_url":"https://api.github.com/users/adrianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhall/subscriptions","organizations_url":"https://api.github.com/users/adrianhall/orgs","repos_url":"https://api.github.com/users/adrianhall/repos","events_url":"https://api.github.com/users/adrianhall/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhall/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":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-07T22:41:48Z","updated_at":"2016-03-12T23:20:32Z","closed_at":"2016-03-12T19:06:37Z","body":"> Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?\r\n\r\nREGRESSION\r\n\r\nIn versions v4.4.x and prior, if there was an error in the configuration, the stylelint API would add an error to stats.compilation.errors with the information about the configuration.  In version v4.5.0, this is no longer the case.\r\n\r\n> Which rule, if any, is this issue related to?\r\n\r\nNo specific rule\r\n\r\n> What CSS is needed to reproduce this issue?\r\n\r\n```css\r\nbody {\r\n    font-size: 8px;\r\n}\r\n```\r\n\r\n(Actually, any CSS can be used)\r\n\r\n> What stylelint configuration is needed to reproduce this issue?\r\n\r\n```json\r\nmodule.exports = {\r\n    rules: {\r\n        // This next line is an error in the rule\r\n        'color-hex-case': 'error',\r\n        'selector-list-comma-newline-after': [ 'always', { warn: true } ],\r\n        'unit-blacklist': [ 'em' ],\r\n        'unit-whitelist': [ 'px' ]\r\n    }\r\n}\r\n```\r\n\r\n> Which version of stylelint are you using?\r\n\r\n`4.5.0`\r\n\r\n> How are you running stylelint: CLI, PostCSS plugin, Node API?\r\n\r\nWebpack with stylelint-loader (I am the maintainer).\r\n\r\nTest for this condition is in the stylelint-loader mocha tests\r\nstylelint-loader repository: https://github.com/adrianhall/stylelint-loader\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\nExpected error to be added to stats.compilation.errors\r\n\r\n> What actually happened (e.g. what warnings or errors you are getting)?\r\n\r\nNo error was produced.\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/195827901","html_url":"https://github.com/stylelint/stylelint/issues/876#issuecomment-195827901","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/876","id":195827901,"user":{"login":"davidtheclark","id":628431,"avatar_url":"https://avatars.githubusercontent.com/u/628431?v=3","gravatar_id":"","url":"https://api.github.com/users/davidtheclark","html_url":"https://github.com/davidtheclark","followers_url":"https://api.github.com/users/davidtheclark/followers","following_url":"https://api.github.com/users/davidtheclark/following{/other_user}","gists_url":"https://api.github.com/users/davidtheclark/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtheclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtheclark/subscriptions","organizations_url":"https://api.github.com/users/davidtheclark/orgs","repos_url":"https://api.github.com/users/davidtheclark/repos","events_url":"https://api.github.com/users/davidtheclark/events{/privacy}","received_events_url":"https://api.github.com/users/davidtheclark/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T23:20:32Z","updated_at":"2016-03-12T23:20:32Z","body":"@adrianhall Do you mean line/column of the configuration file?"}}