@samitouri / QOS-React-2 / commits / ac8d874711

[eslint-plugin] Silence babel warnings in test

be quiet Babel!

Lauren Tan committed Aug 11, 2023 at 16:38 UTC ac8d874711e1be59bd17394e056f54e975ad2b91
1 file changed +8 -1
compiler/forget/packages/eslint-plugin-react-forget/babel.config.js
+8 -1
@@ -5,4 +5,11 @@
5 * LICENSE file in the root directory of this source tree.
6 */
7
8 -module.exports = { presets: ["@babel/preset-env", "@babel/preset-typescript"] };
8 +module.exports = {
9 + presets: ["@babel/preset-env", "@babel/preset-typescript"],
10 + plugins: [
11 + ["@babel/plugin-transform-private-property-in-object", { loose: true }],
12 + ["@babel/plugin-transform-class-properties", { loose: true }],
13 + ["@babel/plugin-transform-private-methods", { loose: true }],
14 + ],
15 +};