Skip to content

Commit

Permalink
removed redundant statements (#6254)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
saranshkataria authored and ianschmitz committed Feb 22, 2019
1 parent 7ec3647 commit 01fbb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/babel-preset-react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

```json
{
Expand All @@ -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`:

```json
{
Expand Down

0 comments on commit 01fbb79

Please sign in to comment.