Eslint Plugin Import: v2.30.0 Release

Release date:
September 3, 2024
Previous version:
v2.29.1 (released December 14, 2023)
Magnitude:
2,746 Diff Delta
Contributors:
18 total committers
Data confidence:
Commits:

44 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored February 24, 2024
Authored June 18, 2024
Authored March 14, 2024
Authored March 13, 2024
Authored March 13, 2024
Authored September 3, 2024
Authored September 3, 2024
Authored August 25, 2024
Authored September 3, 2024
Authored March 13, 2024
Authored March 24, 2024
Authored March 11, 2024
Authored March 11, 2024
Authored August 25, 2024
Authored February 27, 2024

Top Contributors in v2.30.0

ljharb
michaelfaith
jwbth
joeyguerra
silverwind
JiangWeixian
liby
fregante
developer-bandi
u812320-b510

Directory Browser for v2.30.0

All files are compared to previous version, v2.29.1. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

Added

  • [dynamic-import-chunkname]: add allowEmpty option to allow empty leading comments (#2942, thanks @JiangWeixian)
  • [dynamic-import-chunkname]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode (#3004, thanks @amsardesai)
  • [no-unused-modules]: Add ignoreUnusedTypeExports option (#3011, thanks @silverwind)
  • add support for Flat Config (#3018, thanks @michaelfaith)

Fixed

  • [no-extraneous-dependencies]: allow wrong path (#3012, thanks @chabb)
  • [no-cycle]: use scc algorithm to optimize (#2998, thanks @soryy708)
  • [no-duplicates]: Removing duplicates breaks in TypeScript (#3033, thanks @yesl-kim)
  • [newline-after-import]: fix considerComments option when require (#2952, thanks @developer-bandi)
  • [order]: do not compare first path segment for relative paths (#2682) (#2885, thanks @mihkeleidast)

Changed

  • [Docs] no-extraneous-dependencies: Make glob pattern description more explicit (#2944, thanks @mulztob)
  • [no-unused-modules]: add console message to help debug #2866
  • [Refactor] ExportMap: make procedures static instead of monkeypatching exportmap (#2982, thanks @soryy708)
  • [Refactor] ExportMap: separate ExportMap instance from its builder logic (#2985, thanks @soryy708)
  • [Docs] order: Add a quick note on how unbound imports and --fix (#2640, thanks @minervabot)
  • [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) (#2987, thanks @joeyguerra)
  • [actions] migrate OSX tests to GHA (ljharb#37, thanks @aks-)
  • [Refactor] exportMapBuilder: avoid hoisting (#2989, thanks @soryy708)
  • [Refactor] ExportMap: extract "builder" logic to separate files (#2991, thanks @soryy708)
  • [Docs] [order]: update the description of the pathGroupsExcludedImportTypes option (#3036, thanks @liby)
  • [readme] Clarify how to install the plugin (#2993, thanks @jwbth)