Skip to content

Commit

Permalink
note use of typescript in readme import/extensions section
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Watkins committed Apr 22, 2022
1 parent 347d78b commit cd8742d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ A list of file extensions that will be parsed as modules and inspected for
`export`s.

This defaults to `['.js']`, unless you are using the `react` shared config,
in which case it is specified as `['.js', '.jsx']`.
in which case it is specified as `['.js', '.jsx']`. Despite the default,
if you are using TypeScript (without the `plugin:import/typescript` config
described above) you must specify the new extensions (`.ts`, + `.tsx` in React).

```js
"settings": {
Expand Down

0 comments on commit cd8742d

Please sign in to comment.