mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[eslint-plugin] Silence babel warnings in test
be quiet Babel!
This commit is contained in:
@@ -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 }],
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user