Download Latest Version v2.32.0 source code.tar.gz (292.9 kB)
Email in envelope

Get an email when there's a new version of eslint-plugin-import

Home / v2.31.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-10-03 3.1 kB
v2.31.0 source code.tar.gz 2024-10-03 275.3 kB
v2.31.0 source code.zip 2024-10-03 555.6 kB
Totals: 3 Items   834.0 kB 0

Added

Fixed

  • ExportMap / flat config: include languageOptions in context (#3052, thanks @michaelfaith)
  • [no-named-as-default]: Allow using an identifier if the export is both a named and a default export (#3032, thanks @akwodkiewicz)
  • [export]: False positive for exported overloaded functions in TS (#3065, thanks @liuxingbaoyu)
  • exportMap: export map cache is tainted by unreliable parse results (#3062, thanks @michaelfaith)
  • exportMap: improve cacheKey when using flat config (#3072, thanks @michaelfaith)
  • adjust "is source type module" checks for flat config (#2996, thanks @G-Rath)

Changed

  • [Docs] [no-relative-packages]: fix typo (#3066, thanks @joshuaobrien)
  • [Performance] [no-cycle]: dont scc for each linted file (#3068, thanks @soryy708)
  • [Docs] [no-cycle]: add disableScc to docs (#3070, thanks @soryy708)
  • [Tests] use re-exported RuleTester (#3071, thanks @G-Rath)
  • [Docs] [no-restricted-paths]: fix grammar (#3073, thanks @unbeauvoyage)
  • [Tests] [no-default-export], [no-named-export]: add test case (thanks @G-Rath)
Source: README.md, updated 2024-10-03