From 1863d13f3c300fa7a809a6f6d41f0ffb03abb747 Mon Sep 17 00:00:00 2001 From: saransh kataria Date: Tue, 22 Jan 2019 20:50:42 -0800 Subject: [PATCH] removed redundant statements The enabled by default statement made sense when the developer was supposed to disable flow in order to use ts. Both those statements in there create some confusion about it in my opinion. --- packages/babel-preset-react-app/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/babel-preset-react-app/README.md b/packages/babel-preset-react-app/README.md index ea8eb3e434d..0bc308624fc 100644 --- a/packages/babel-preset-react-app/README.md +++ b/packages/babel-preset-react-app/README.md @@ -34,7 +34,7 @@ This preset uses the `useBuiltIns` option with [transform-object-rest-spread](ht ## Usage with Flow -Flow is enabled by default. Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`: +Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`: ``` { @@ -44,7 +44,7 @@ Flow is enabled by default. Make sure you have a `.flowconfig` file at the root ## Usage with TypeScript -TypeScript is enabled by default. Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`: +Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`: ``` {