Skip to content

Commit 01fbb79

Browse files
saranshkatariaianschmitz
authored andcommitted
removed redundant statements (#6254)
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.
1 parent 7ec3647 commit 01fbb79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/babel-preset-react-app/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This preset uses the `useBuiltIns` option with [transform-object-rest-spread](ht
3434

3535
## Usage with Flow
3636

37-
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`:
37+
Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:
3838

3939
```json
4040
{
@@ -44,7 +44,7 @@ Flow is enabled by default. Make sure you have a `.flowconfig` file at the root
4444

4545
## Usage with TypeScript
4646

47-
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`:
47+
Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:
4848

4949
```json
5050
{

0 commit comments

Comments
 (0)