Sourced from eslint-plugin-import's changelog.
[2.24.0] - 2021-08-08
Added
- [
no-dynamic-require]: add optionesmodule(https://github.com/facebook/flipper/issues/1223, thanks [@vikr01])- [
named]: addcommonjsoption (https://github.com/facebook/flipper/issues/1222, thanks [@vikr01])- [
no-namespace]: Addignoreoption (https://github.com/facebook/flipper/issues/2112, thanks [@aberezkin])- [
max-dependencies]: add optionignoreTypeImports(https://github.com/facebook/flipper/issues/1847, thanks [@rfermann])Fixed
- [
no-duplicates]: ensure autofix avoids excessive newlines (https://github.com/facebook/flipper/issues/2028, thanks [@ertrzyiks])- [
extensions]: avoid crashing on partially typed import/export statements (https://github.com/facebook/flipper/issues/2118, thanks [@ljharb])- [
no-extraneous-dependencies]: add ESM intermediate package.json support] (https://github.com/facebook/flipper/issues/2121, thanks [@paztis])- Use
context.getPhysicalFilename()when available (ESLint 7.28+) (https://github.com/facebook/flipper/issues/2160, thanks [@pmcelhaney])- [
extensions]/importType: fix isScoped treating @/abc as scoped module (https://github.com/facebook/flipper/issues/2146, thanks [@rperello])Changed
- [Docs] [
extensions]: removed incorrect cases (https://github.com/facebook/flipper/issues/2138, thanks [@wenfangdu])- [Tests] [
order]: add tests forpathGroupsExcludedImportTypes: ['type'](https://github.com/facebook/flipper/issues/2158, thanks [@atav32])- [Docs] [
order]: improve the documentation for thepathGroupsExcludedImportTypesoption (https://github.com/facebook/flipper/issues/2156, thanks [@liby])- [Tests] [
no-cycle]: Restructure test files (https://github.com/facebook/flipper/issues/1517, thanks [@soryy708])- [Docs] add description how to use plugin with yarn berry (https://github.com/facebook/flipper/issues/2179, thanks [
@KostyaZgara])
202e5e0 Bump to v2.24.0546f87f utils: v2.6.274fa6c9 [resolvers/node] v0.3.532bf645 [Docs] add description how to use plugin with yarn berry794e869 [meta] update repo URLs429f3f6 [Tests] no-cycle: Restructure test filesb743a65 [New] max-dependencies: add option ignoreTypeImportsbba59c4 [New] no-namespace: Add ignore option54d86c8 [New] named: add commonjs option7626a14 [Refactor] named: clean up formatting