{"action":"opened","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/10387","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/10387/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/10387/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/10387/events","html_url":"https://github.com/eslint/eslint/issues/10387","id":324859951,"number":10387,"title":"Non-JSON deprecation warning is output in JSON format","user":{"login":"Standard8","id":520844,"avatar_url":"https://avatars0.githubusercontent.com/u/520844?v=4","gravatar_id":"","url":"https://api.github.com/users/Standard8","html_url":"https://github.com/Standard8","followers_url":"https://api.github.com/users/Standard8/followers","following_url":"https://api.github.com/users/Standard8/following{/other_user}","gists_url":"https://api.github.com/users/Standard8/gists{/gist_id}","starred_url":"https://api.github.com/users/Standard8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Standard8/subscriptions","organizations_url":"https://api.github.com/users/Standard8/orgs","repos_url":"https://api.github.com/users/Standard8/repos","events_url":"https://api.github.com/users/Standard8/events{/privacy}","received_events_url":"https://api.github.com/users/Standard8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-21T10:07:45Z","updated_at":"2018-05-21T10:07:45Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n    ESLint adheres to the [JS Foundation Code of Conduct](https://js.foundation/community/code-of-conduct).\r\n\r\n    This template is for bug reports. If you are here for another reason, please see below:\r\n\r\n    1. To propose a new rule: https://eslint.org/docs/developer-guide/contributing/new-rules\r\n    2. To request a rule change: https://eslint.org/docs/developer-guide/contributing/rule-changes\r\n    3. To request a change that is not a bug fix, rule change, or new rule: https://eslint.org/docs/developer-guide/contributing/changes\r\n    4. If you have any questions, please stop by our chatroom: https://gitter.im/eslint/eslint\r\n\r\n    Note that leaving sections blank will make it difficult for us to troubleshoot and we may have to close the issue.\r\n-->\r\n\r\n**Tell us about your environment**\r\n\r\n* **ESLint Version:** 5.0.0-alpha.3\r\n* **Node Version:** 8.11.2\r\n* **npm Version:** 5.6.0\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?** default\r\n\r\n**Please show your full configuration:**\r\n\r\n<details>\r\n<summary>Configuration</summary>\r\n\r\n<!-- Paste your configuration below: -->\r\n```js\r\nmodule.exports = {\r\n  \"parserOptions\": {\r\n    \"ecmaFeatures\": {\r\n      experimentalObjectRestSpread: true,\r\n    },\r\n  },\r\n};\r\n```\r\n\r\n</details>\r\n\r\n**What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.**\r\n\r\n<!-- Paste the source code below: -->\r\n```js\r\nlet foo = 1;\r\n```\r\n\r\n<!-- Paste the command you used to run ESLint: -->\r\n```bash\r\n./node_modules/.bin/eslint --format=json eslint4.0test.js\r\n```\r\n\r\n**What did you expect to happen?** A valid JSON formatted output with the warning encoded as an warning for the \".eslintrc.js\" file (even though that file isn't linted, I think it could still be flagged directly for it).\r\n\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\n\r\nAn invalid format:\r\n\r\n```bash\r\n[{\"filePath\":\"/Users/mark/dev/eslint-test/eslint4.0test.js\",\"messages\":[],\"errorCount\":0,\"warningCount\":0,\"fixableErrorCount\":0,\"fixableWarningCount\":0}]\r\n(node:15012) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in \".eslintrc.js\")\r\n```"}}
{"actor":{"display_login":"Standard8"}}