We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import/extensions
1 parent 347d78b commit cd8742dCopy full SHA for cd8742d
README.md
@@ -271,7 +271,9 @@ A list of file extensions that will be parsed as modules and inspected for
271
`export`s.
272
273
This defaults to `['.js']`, unless you are using the `react` shared config,
274
-in which case it is specified as `['.js', '.jsx']`.
+in which case it is specified as `['.js', '.jsx']`. Despite the default,
275
+if you are using TypeScript (without the `plugin:import/typescript` config
276
+described above) you must specify the new extensions (`.ts`, + `.tsx` in React).
277
278
```js
279
"settings": {
0 commit comments