File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
14
14
15
15
### Changed
16
16
- [ Tests] ` named ` : Run all TypeScript test ([ #2427 ] , thanks [ @ProdigySim ] )
17
+ - [ readme] note use of typescript in readme ` import/extensions ` section ([ #2440 ] , thanks [ @OutdatedVersion ] )
17
18
18
19
## [ 2.26.0] - 2022-04-05
19
20
@@ -986,6 +987,7 @@ for info on changes for earlier releases.
986
987
987
988
[ `memo-parser` ] : ./memo-parser/README.md
988
989
990
+ [ #2440 ] : https://github.com/import-js/eslint-plugin-import/pull/2440
989
991
[ #2427 ] : https://github.com/import-js/eslint-plugin-import/pull/2427
990
992
[ #2417 ] : https://github.com/import-js/eslint-plugin-import/pull/2417
991
993
[ #2411 ] : https://github.com/import-js/eslint-plugin-import/pull/2411
@@ -1629,6 +1631,7 @@ for info on changes for earlier releases.
1629
1631
[ @ntdb ] : https://github.com/ntdb
1630
1632
[ @nwalters512 ] : https://github.com/nwalters512
1631
1633
[ @ombene ] : https://github.com/ombene
1634
+ [ @OutdatedVersion ] : https://github.com/OutdatedVersion
1632
1635
[ @ota-meshi ] : https://github.com/ota-meshi
1633
1636
[ @panrafal ] : https://github.com/panrafal
1634
1637
[ @paztis ] : https://github.com/paztis
Original file line number Diff line number Diff line change @@ -271,7 +271,10 @@ A list of file extensions that will be parsed as modules and inspected for
271
271
` export` s.
272
272
273
273
This defaults to `['.js']`, unless you are using the `react` shared config,
274
- in which case it is specified as `['.js', '.jsx']`.
274
+ 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`, and also `.tsx`
277
+ if using React).
275
278
276
279
` ` ` js
277
280
"settings": {
You can’t perform that action at this time.
0 commit comments