diff --git a/compiler/forget/packages/eslint-plugin-react-forget/babel.config.js b/compiler/forget/packages/eslint-plugin-react-forget/babel.config.js index bb79d35e31..9000ffa9e5 100644 --- a/compiler/forget/packages/eslint-plugin-react-forget/babel.config.js +++ b/compiler/forget/packages/eslint-plugin-react-forget/babel.config.js @@ -5,4 +5,11 @@ * LICENSE file in the root directory of this source tree. */ -module.exports = { presets: ["@babel/preset-env", "@babel/preset-typescript"] }; +module.exports = { + presets: ["@babel/preset-env", "@babel/preset-typescript"], + plugins: [ + ["@babel/plugin-transform-private-property-in-object", { loose: true }], + ["@babel/plugin-transform-class-properties", { loose: true }], + ["@babel/plugin-transform-private-methods", { loose: true }], + ], +};