diff --git a/CHANGELOG.md b/CHANGELOG.md index 17cbc2e3a..042f7496c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ### Changed - [Tests] `named`: Run all TypeScript test ([#2427], thanks [@ProdigySim]) +- [readme] note use of typescript in readme `import/extensions` section ([#2440], thanks [@OutdatedVersion]) ## [2.26.0] - 2022-04-05 @@ -986,6 +987,7 @@ for info on changes for earlier releases. [`memo-parser`]: ./memo-parser/README.md +[#2440]: https://github.com/import-js/eslint-plugin-import/pull/2440 [#2427]: https://github.com/import-js/eslint-plugin-import/pull/2427 [#2417]: https://github.com/import-js/eslint-plugin-import/pull/2417 [#2411]: https://github.com/import-js/eslint-plugin-import/pull/2411 @@ -1629,6 +1631,7 @@ for info on changes for earlier releases. [@ntdb]: https://github.com/ntdb [@nwalters512]: https://github.com/nwalters512 [@ombene]: https://github.com/ombene +[@OutdatedVersion]: https://github.com/OutdatedVersion [@ota-meshi]: https://github.com/ota-meshi [@panrafal]: https://github.com/panrafal [@paztis]: https://github.com/paztis diff --git a/README.md b/README.md index 1d7b55ff5..8d38874b1 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,10 @@ 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`, and also `.tsx` +if using React). ```js "settings": {