File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 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
1414
1515### Changed
1616- [ Tests] ` named ` : Run all TypeScript test ([ #2427 ] , thanks [ @ProdigySim ] )
17+ - [ readme] note use of typescript in readme ` import/extensions ` section ([ #2440 ] , thanks [ @OutdatedVersion ] )
1718
1819## [ 2.26.0] - 2022-04-05
1920
@@ -986,6 +987,7 @@ for info on changes for earlier releases.
986987
987988[ `memo-parser` ] : ./memo-parser/README.md
988989
990+ [ #2440 ] : https://github.com/import-js/eslint-plugin-import/pull/2440
989991[ #2427 ] : https://github.com/import-js/eslint-plugin-import/pull/2427
990992[ #2417 ] : https://github.com/import-js/eslint-plugin-import/pull/2417
991993[ #2411 ] : https://github.com/import-js/eslint-plugin-import/pull/2411
@@ -1629,6 +1631,7 @@ for info on changes for earlier releases.
16291631[ @ntdb ] : https://github.com/ntdb
16301632[ @nwalters512 ] : https://github.com/nwalters512
16311633[ @ombene ] : https://github.com/ombene
1634+ [ @OutdatedVersion ] : https://github.com/OutdatedVersion
16321635[ @ota-meshi ] : https://github.com/ota-meshi
16331636[ @panrafal ] : https://github.com/panrafal
16341637[ @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
271271` export` s.
272272
273273This 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).
275278
276279` ` ` js
277280"settings": {
You can’t perform that action at this time.
0 commit comments