{"action":"opened","issue":{"url":"https://api.github.com/repos/babel/babel/issues/8711","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/8711/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/8711/comments","events_url":"https://api.github.com/repos/babel/babel/issues/8711/events","html_url":"https://github.com/babel/babel/issues/8711","id":360315101,"node_id":"MDU6SXNzdWUzNjAzMTUxMDE=","number":8711,"title":"@babel/plugin-proposal-class-properties is ignored in .babelrc","user":{"login":"StephanBijzitter","id":1649903,"node_id":"MDQ6VXNlcjE2NDk5MDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1649903?v=4","gravatar_id":"","url":"https://api.github.com/users/StephanBijzitter","html_url":"https://github.com/StephanBijzitter","followers_url":"https://api.github.com/users/StephanBijzitter/followers","following_url":"https://api.github.com/users/StephanBijzitter/following{/other_user}","gists_url":"https://api.github.com/users/StephanBijzitter/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanBijzitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanBijzitter/subscriptions","organizations_url":"https://api.github.com/users/StephanBijzitter/orgs","repos_url":"https://api.github.com/users/StephanBijzitter/repos","events_url":"https://api.github.com/users/StephanBijzitter/events{/privacy}","received_events_url":"https://api.github.com/users/StephanBijzitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T13:55:30Z","updated_at":"2018-09-14T13:55:30Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\n**Current Behavior**\r\nBabel complains that \"Support for the experimental syntax 'classProperties' isn't currently enabled\" and tells me to \"Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.\"\r\n\r\n**Input Code**\r\nMassive private codebase, but the following code is more than 2 years old and did work with Babel 6:\r\n<img width=\"1359\" alt=\"screen shot 2018-09-14 at 15 47 24\" src=\"https://user-images.githubusercontent.com/1649903/45554040-b8529f00-b835-11e8-9a4c-2c1a53eb8bec.png\">\r\n\r\n**Expected behavior/code**\r\nI don't expect this error to be thrown, seeing I've done exactly what it's proposing I do. Further more, I did not expect to need to add this plugin, as I assumed it to be part of preset-env already.\r\n\r\n**Babel Configuration (.babelrc, package.json, cli command)**\r\n\r\n```json\r\n{\r\n  \"presets\": [\r\n    [\r\n      \"@babel/preset-env\",\r\n      {\r\n        \"modules\": \"commonjs\"\r\n      }\r\n    ],\r\n    \"@babel/preset-react\",\r\n    \"@babel/preset-typescript\"\r\n  ],\r\n  \"plugins\": [\r\n    \"@babel/plugin-proposal-class-properties\"\r\n  ]\r\n}\r\n```\r\n\r\n**Environment**\r\nI'm running jest (23.6.0) with babel-jest (23.6.0) babel 7 (core at 7.0.1)\r\n\r\n- Node/npm version: NodeJS 10.9.0 with Yarn 1.9.4\r\n- OS: OSX 10.13.6 (latest at time of writing)\r\n- Monorepo: difficult to say\r\n- How you are using Babel: it's being loaded by Jest\r\n\r\n**Additional context/Screenshots**\r\nThe following .babelrc did work with version 6:\r\n```json\r\n{\r\n  \"presets\": [\r\n    \"es2015\",\r\n    \"react\",\r\n    \"stage-0\"\r\n  ]\r\n}\r\n```"}}
{"actor":{"display_login":"StephanBijzitter"}}