dependabot npm(deps-dev): bump eslint-plugin-import from 2.29.1 to 2.30.0
Bumps eslint-plugin-import from 2.29.1 to 2.30.0.
Release notes
Sourced from eslint-plugin-import's releases.
v2.30.0
Added
dynamic-import-chunkname
: addallowEmpty
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
]: AddignoreUnusedTypeExports
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 thepathGroupsExcludedImportTypes
option (#3036, thanks [@liby
])- [readme] Clarify how to install the plugin (#2993, thanks [
@jwbth
])
... (truncated)
Changelog
Sourced from eslint-plugin-import's changelog.
[2.30.0] - 2024-09-02
Added
- [
dynamic-import-chunkname
]: addallowEmpty
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
]: AddignoreUnusedTypeExports
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 thepathGroupsExcludedImportTypes
option (#3036, thanks [@liby
])- [readme] Clarify how to install the plugin (#2993, thanks [
@jwbth
])
Commits
-
18787d3
Bump to 2.30.0 -
9902298
[Deps] updateeslint-module-utils
-
9d194a6
[utils] v2.9.0 -
0a58d75
[resolvers/webpack] v0.13.9 -
a3015eb
[Test]namespace
: ensure valid case is actually included -
8bdb32b
[Test] add explicit marker for trailing whitespace in cases -
038c26c
[readme] Clarify how to install the plugin -
32a2b89
[Fix]order
: do not compare first path segment for relative paths (#2682) -
ee1ea02
[Fix]newline-after-import
: fix considerComments option when require -
806e3c2
[New] add support for Flat Config - Additional commits viewable in compare view