Skip to content

Commit

Permalink
docs: correct wording
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Nov 1, 2019
1 parent 82ed40d commit 523384c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/parser/README.md
Expand Up @@ -42,8 +42,7 @@ The following additional configuration options are available by specifying them

- **`ecmaFeatures.jsx`** - default `false`. Enable parsing JSX when `true`. More details can be found [here](https://www.typescriptlang.org/docs/handbook/jsx.html).

NOTE: we do not always respect this setting, as in some configurations, we have to rely upon the typescript compiler's internal handling based on file extensions.
The exact behaviour is as follows:
NOTE: this setting does not effect known file types (.js, .jsx, .ts, .tsx, .json) because the typescript compiler has its own internal handling for known file extensions. The exact behaviour is as follows:

- if `parserOptions.project` is _not_ provided:
- `.js`, `.jsx`, `.tsx` files are parsed as if this is true.
Expand Down

0 comments on commit 523384c

Please sign in to comment.