Skip to content

Dependencies: [skip ci] Bump eslint-plugin-import from 2.27.5 to 2.28.0

Bumps eslint-plugin-import from 2.27.5 to 2.28.0.

Changelog

Sourced from eslint-plugin-import's changelog.

[2.28.0] - 2023-07-27

Fixed

  • [no-duplicates]: remove duplicate identifiers in duplicate imports (#2577, thanks [@​joe-matsec])
  • [consistent-type-specifier-style]: fix accidental removal of comma in certain cases (#2754, thanks [@​bradzacher])
  • [Perf] ExportMap: Improve ExportMap.for performance on larger codebases (#2756, thanks [@​leipert])
  • [no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies (#1820, thanks [@​andyogo])
  • [newline-after-import]/TypeScript: do not error when re-exporting a namespaced import (#2832, thanks [@​laurens-dg])
  • [order]: partial fix for #2687 (thanks [@​ljharb])
  • [no-duplicates]: Detect across type and regular imports (#2835, thanks [@​benkrejci])
  • [extensions]: handle . and .. properly (#2778, thanks [@​benasher44])
  • [no-unused-modules]: improve schema (thanks [@​ljharb])
  • [no-unused-modules]: report error on binding instead of parent export (#2842, thanks [@​Chamion])

Changed

  • [Docs] [no-duplicates]: fix example schema (#2684, thanks [@​simmo])
  • [Docs] [group-exports]: fix syntax highlighting (#2699, thanks [@​devinrhode2])
  • [Docs] [extensions]: reference node ESM behavior (#2748, thanks [@​xM8WVqaG])
  • [Refactor] [exports-last]: use array.prototype.findlastindex (thanks [@​ljharb])
  • [Refactor] [no-anonymous-default-export]: use object.fromentries (thanks [@​ljharb])
  • [Refactor] [no-unused-modules]: use array.prototype.flatmap (thanks [@​ljharb])
Commits
  • a257df9 Bump to 2.28.0
  • 600fcc1 [Refactor] order: use object.groupby
  • be928ae [Refactor] no-internal-modules: simplify a reduce
  • e7c2486 [Refactor] no-useless-path-segments: use .filter instead of .reduce
  • 89f5d0d [Refactor] no-anonymous-default-export: use fromEntries instead of reduce
  • 703e9f9 [Refactor] no-duplicates, no-unused-modules: use flatMap instead of `ma...
  • 70f24f1 [Tests] allow WSL builds to fail, for now
  • 90e2dfa [Fix] no-unused-modules: report error on binding instead of parent export
  • d3aa478 [Tests] no-unused-modules: document error reported on entire export state...
  • 3e1dd0b [Fix] no-unused-modules: improve schema
  • Additional commits viewable in compare view

Merge request reports